We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Inner HTML in Windows form Browser

I there a way to perform an InnerHTML command in a windows form web browser using C# similar to Javascript? If so, could someone send me an example.

2 Replies

CB Clay Burch Syncfusion Team August 22, 2002 09:45 AM UTC

Did you look at the second technique discussed in this FAQ. http://www.syncfusion.com/faq/winforms/search/645.asp It exposes IHTMLElement.SetInnerHTML and IHTMLElement.GetInnerHTML.


JO josephxxv August 22, 2002 04:20 PM UTC

I'm kind of new to c# programming and have only been teaching myself Javascript and HTML for the last 3 or 4 months. Could you give me a simple example that will get the innerHTML from a browser in a windows form. I looked at the examples you mentioned, but I couldn't figure out how to actually get the innerHTML or what I needed to include in my code. My form right now has a web browser and some text fields that sign me into a certain page. I then want to be able to filter the text of the page that comes up. Can you send me a simple example of how to do this? I would greatly appreciate it. > Did you look at the second technique discussed in this FAQ. > > http://www.syncfusion.com/faq/winforms/search/645.asp > > It exposes IHTMLElement.SetInnerHTML and IHTMLElement.GetInnerHTML.

Loader.
Live Chat Icon For mobile
Up arrow icon