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

Multiple parent in RadTreeView

3 Answers 167 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Yefta
Top achievements
Rank 1
Yefta asked on 01 Mar 2016, 05:09 AM

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

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 02 Mar 2016, 01:47 PM
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
0
Yefta
Top achievements
Rank 1
answered on 03 Mar 2016, 02:04 AM

if i use dataset, how can i achieve this?

is it possible just using this code?

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

thank you

0
Ivan Danchev
Telerik team
answered on 03 Mar 2016, 02:17 PM
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
Tags
TreeView
Asked by
Yefta
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Yefta
Top achievements
Rank 1
Share this question
or