self-referencing-hierarchy-that-is-n-levels-deep in RadTreeListView

3 posts, 0 answers
  1. Siqi
    Siqi avatar
    3 posts
    Member since:
    Jun 2015

    Posted 24 Jun 2015 Link to this post


      I'm doing a project which need a n level deep in RadTreeListView. The first level I get a list of sector (ex: Asia, Europe, America).  For the second sector: if it has the information (ex: Europe -> Est Europe, West Europe), I will show it ("Est europe", "West Europe" are the children of "Europe"). Then I may get still the third, fourth, fifth sector.

      I have seen a old topic which talk about this, (see the link: and I succeed to run this example, but there are always the children sector show in the first sector ("Sally Smith", "Fred Smith" should show only in the second level subsector and his father is "John Smith", "Emma Smith" should only show in the third level subsector and his father is "Sally Smith", see in the attach files to get more details). So I want to know how to fix this issue?





  2. Siqi
    Siqi avatar
    3 posts
    Member since:
    Jun 2015

    Posted 25 Jun 2015 in reply to Siqi Link to this post

    I finally find a solution for my question, here is the link: 

    I can't attche a .zip file here, but see in the link.

    Don't hesitate to add more level (in data) as:

           new DataItem() {Text = "Item 1.1.3", Id = 13, ParentId = 4},
           new DataItem() {Text = "Item", Id = 14, ParentId = 13},
           new DataItem() {Text = "Item", Id = 15, ParentId = 14}

    Hope this could help someone else.


  3. DevCraft R3 2016 release webinar banner
  4. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 25 Jun 2015 Link to this post

    Hello Siqi,

    Thank you so much for sharing the solution with the community. 

    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