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

Templated Node (Multiple Parent)

2 Answers 139 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
Kamran asked on 08 Dec 2011, 01:56 PM
Hi team,
  I am using Treeview (Templated Node). I want to confirm that is a child leaves can have multiple parent leaves. If yes kindly explain with example. Here is simple scenario that i want to populate with templated node

A user has two Teamleads, and two team members. In first row there should be teamleads, 2nd row logined user and 3rd row contains team member of logined user.
Now as Teamleads are at top hierarchy, therefore, user has more then one parent. how i will implement this example. Detail cant be found in attached Screen shot 

2 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 13 Dec 2011, 01:33 PM
Hello Kamran,

The RadTreeView control can definitely be customized to meet your requirements. Even though you cannot have one children collection derive from two parent RadTreeViewItem nodes at the same time, you can define one RadTreeViewItem to contain multiple RadTreeViewItems hosted in an inner RadTreeView.

I attached a sample solution demonstrating such an approach. Please have a look at it and let me know if it works for you or if you have any questions.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
answered on 27 Dec 2011, 06:12 AM
Hi Tina Stancheva,

Thanks I got solution of my problem.thanks for your response.
Tags
TreeView
Asked by
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Tina Stancheva
Telerik team
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
Share this question
or