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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Treeview Template mapping

Thread ID:





62512 Jun 15,2007 11:08 PM UTC Jun 19,2007 01:23 PM UTC ASP.NET Web Forms (Classic) 1
Tags: Tools
Ted Konkel
Asked On June 15, 2007 11:08 PM UTC

I am currently evaluating Essential Tools for ASP.NET. I'm particularly interested in the TreeView, as I think it could help me with the display and manipulation of XML data. I can't get the Template feature working, however.
Suppose I have XML like this:


Now suppose my aspx file has the following code:

So I want to associate a template to the binding for Node1 from the XML, and I want that template to take the "name" attribute of Node1 and have that displayed in the TreeView as a templatized label. But I don't know how to establish the mapping between "name" and the Label's Text value. I checked the forums and the Knowledge base, with no luck. Can you help?

Ramya R [Syncfusion]
Replied On June 19, 2007 01:23 PM UTC

Hi Ted,

Thank you for your interest in Syncfusion Products.

The xml file that is to be binded to the TreeView control should be created in a specific format as mentioned in the documentation link provided below and only certain properties can used while binding data to the treeview. The Properties available for databinding can be viewed by rightclicking on the TreeView in designtime and choosing Edit TreeViewNode Databindings... .

Documentation Link:

Also kindly refer the XMLDataBinding(Syncfusion\EssentialStudio\\Web\tools.web\Samples\2.0\TreePackage\TreeView- Advanced Features\XMLDataBinding) sample which ships with our Essential Tools Product Package to know how a treeview can be created by binding a xml file to it.

Please let me know if you have any queries.

Thanks & Regards,


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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