I am making an HTML editor as part of an appication so that users can upload their own forms. I want it to read in an html page and store the elements and their values. I know nothing at all about the document being read in, yet I need to be able to parse it and store the elements somehow. I am using the Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl and the LoadHTML() function. What is the BKM for enumerating the elements of the unknown html layout so that they can be stored in a database?
ADAdministrator Syncfusion Team July 8, 2005 07:52 AM
You can access the elements in a HTML document through the Document.GetElementsByNameHash() or Document.GetElementsByUserIdHash() methods.
Please refer to the sample linked to below:
The sample populates a ListView control with the elements in the document. Please take a look at it and let me know if you need any other information about th elements to complete your application.