Templated Node (Multiple Parent)

3 posts, 1 answers
  1. Kamran
    Kamran avatar
    16 posts
    Member since:
    Nov 2011

    Posted 08 Dec 2011 Link to this post

    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. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 13 Dec 2011 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Kamran
    Kamran avatar
    16 posts
    Member since:
    Nov 2011

    Posted 27 Dec 2011 Link to this post

    Hi Tina Stancheva,

    Thanks I got solution of my problem.thanks for your response.
Back to Top