loading data set in one child node

2 posts, 0 answers
  1. memol
    memol avatar
    4 posts
    Member since:
    Nov 2008

    Posted 08 Feb 2009 Link to this post

    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 ?


  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 11 Feb 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top