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
470
Using UltratreeView (Infragistics TreeView) control
posted

Hello All
I am using infragsitics tree view control.I have one stored procedure that returns 2 tables
1.Parent Table
2.Child Table
Currently i m Binding the treeview on the basis of these 2 tables by using loops wherein i take one row of the master table, create one node , find the associated records in child table and add it under the Parent node.
This method works fine when there are few records.
But it really takes a hell lot of time when there are high number of records.

Is there any way to directly assign datasource to treeview ? without traversing through any loops manually? such that we just need to provide 2 tables containing master and child records as the datasource and the treeview manages it automatically and binds the data

Please help..
Thanks in advance

Parents Reply Children