Multiple parent in RadTreeView

4 posts, 0 answers
  1. Yefta
    Yefta avatar
    14 posts
    Member since:
    Mar 2015

    Posted 29 Feb Link to this post

    Is it possible in RadTreeView that having a multiple parent and in that multiple parent have a child?

    maybe can be described like this:

    Node 1
    -Member of Node 1 - 1
        Node 2
        - Member of Node 2 - 1
        - Member of Node 2 - 2
        - Member of Node 2 - 3
            Node 3
            - Member of Node 3 - 1

    or if it is not possible to use RadTreeView, is there any control that can provide things like this?

     

    Thank you in advance

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 02 Mar Link to this post

    Hello Yefta,

    Yes, the TreeView control supports multiple Nodes on the same level, and each of these nodes can contain other nodes. This structure is demonstrated in the following live demo.

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Yefta
    Yefta avatar
    14 posts
    Member since:
    Mar 2015

    Posted 02 Mar in reply to Ivan Danchev Link to this post

    if i use dataset, how can i achieve this?

    is it possible just using this code?

    RadTreeTeam.DataSource = GetEmployeeTree(ID);
    RadTreeTeam.DataBind();

    thank you

  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 03 Mar Link to this post

    Hello Yefta,

    Yes, the TreeView can be bound to a DataSet. The Binding to DataTable documentation article demonstrates how to bind the control to a DataTable, which is similar to binding it to a DataSet.

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top