Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
Populate a treeview whith an xml file
posted
Hi i would like to know, how to populate a ultratreeview whith an xml file, what is the structure of the xml file for parent an child nodes, thanks
Parents
  • 7694
    Verified Answer
    posted

    Hello,

    You can use the property  DataSourceID and set XmlDataSource.

    Please take a look  at the code below:
        <ignav:UltraWebTree ID="UltraWebTree1" runat="server" DataSourceID="XmlDataSource1">
            </ignav:UltraWebTree>
            <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/SampleXML.xml"></asp:XmlDataSource>

    Hope this helps.

Reply Children