This is a migrated thread and some comments may be shown as answers.

loading data set in one child node

1 Answer 31 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
memol
Top achievements
Rank 1
memol asked on 08 Feb 2009, 10:07 PM
Hi dear
i have one treeview with somw static nodes . for examples : node1 , node2 , node3
now i want to map some records from database in node2`s childs .
i want to do it with using dataset .  and binding . but binding 1 node's child
in basic we can read database records by records and add one records to treevies in one step manually . but it works very slow !
with mapping records to treeview via dataset i think speed is so better .
can u help me ?


1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 11 Feb 2009, 11:50 AM
Hello memol,

Thank you for writing. I am afraid I could not understand what you wrote. This part in particular:

" want to do it with using dataset .  and binding . but binding 1 node's child
in basic we can read database records by records and add one records to treevies in one step manually . but it works very slow !".

If you want to bind to a DataSet you should bind your whole tree view, not just a node. A RadTreeNode is not designed to be bound to a DataSet or a DataTable. Please write back if this is not an answer to your question. I am looking forward to helping you further with that.

Best wishes,
Victor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Treeview
Asked by
memol
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or