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.
Hi Ivan,
Do you have a C# example for using an XML file as the datasource for the UltraTreeView in a Windows form?
Thanks in advance,
Phillip
Hello,
You can use UltraWebTree in LoadOnDemand mode and load only needed nodes. Please take a look at the samples below:
http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htmTree-> AJAX Load on Demand - Manual AJAX Load on Demand - Automatic Hope this helps.
But please check the performance of the Tree when you poplate a large XML tree. Recently i had the same problem where i populated the tree using the xml, my XML file had some 4000 deep nodes and tree died in geeting all the data.
The ideal solution in this case would be to use the LoadOndemand for the tree.
Rajan