This article describes how to populate a TreeViewAdv control by using Extensible Markup Language data. As both XML and TreeViewAdv control represents the data in a hierarchical format, xml source is binded to TreeViewAdv using XmlDataProvider. Follow the below steps to populate TreeViewAdv control using xml file
Step1: Create the XML file.
Step2: Add the XmlDataProvider for the above XML file as follows
Step3: Set the ItemSource property for the TreeViewAdv as follows
The above code generate the following output
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.