I am using the System.Windows.Forms.WebBrowser to display XML in a syntax highlighted and easy to traverse format. Whenever I load the XML into the Control, I would like to have all the elements collapsed, is this possible?
I am using the System.Windows.Forms.WebBrowser to display XML in a syntax highlighted and easy
Share
This is triggered by the DocumentCompleted event handler.
this was a useful link to help with java script injection:
How to execute custom JavaScript in WebBrowser control?
I used the following code.