Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to view XML in WebBrowser control using the DocumentText property?

$
0
0
Hi,

(This is on .NET 2.0)

 The only way I managed to show XML in the webbrowser control was to
write the xml contents to a file and then use "Navigate(...)" to open the
file. This is a bit awkward for me because I have the XML in a string
variable, and the most straightforward way to do it would be to
simply assign it to the "DocumentText" property. But that did not
work... (nothing is displayed, although using the context menu to
view the page source shows that my xml content is there).

Any tips on how to do this?

Thanks
Rubens

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>