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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What is the best way to import html to element list?

Thread ID:

Created:

Updated:

Platform:

Replies:

31453 Jul 7,2005 03:22 PM UTC Jul 8,2005 12:52 PM UTC Windows Forms 1
loading
Tags: HTMLUIControl
Judie Stanley
Asked On July 7, 2005 03:22 PM UTC

Hi, 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? Thanks, Judie

Administrator [Syncfusion]
Replied On July 8, 2005 12:52 PM UTC

Hi Judie, 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: http://www.syncfusion.com/support/user/Uploads/HTMLUIEnumerateElements_3842.zip 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. Thanks, Davis

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;