Hi, i have (would have) a webdatatree like that.
Child2 Item1 Item2
Item1 Item2
child6 Item1 Item2 Item3
How did i build up the Datatable to create the webtree and how get the correct values from the database to bind it to the tree?
Hello Martin,Please take a look at our online help where there is a tutorial regarding your issue - http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataTree_Binding_WebDataTree_to_WebHierarchicalDataSource.html . Also you can see how to bind it to a XML file which in some cases may be a better choice - http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.1/CLR4.0/html/WebDataTree_Binding_WebDataTree_to_an_Xml_Data_Source.html An you can find more information about the whole WebDataTree control on the following address - http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataTree_Using_WebDataTree.html
Hi, thanks for your reply. but i use two datatables set there relation and bind it to the webdatatree.
did you have samples for that?
Hello Martin, Please let me know if you have any further questions about this issue.
Hello Martin,I am attaching a sample created via this tutorial http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataTree_Binding_WebDataTree_to_WebHierarchicalDataSource.html and using two datatables in hierarchical datasource. Sample was created via NetAdvantage 11.2.20112.1019. You will have to manually add ig_ress folder and reasign the northwind connection according to your environment.