I created a webView2 object and called a CoreWebView2.NavigateToString(string htmlpage)
to render an HTML file (stored in memory as a string). The method renders all the HTML page except that the background image and the button images are not. No issues with the html page; i can see the images with both Edge and chrome browsers.
This issue did not happen with the old WebBrowser
object. Is that a bug, or is there any other extra step to make the NavigateToString
render images?