Collapse some nodes not all

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    376 posts
    Member since:
    Aug 2008

    Posted 09 Jun 2014 Link to this post


    I have a tree view inside a radcomboBox. This contains a list of location some 2 deep some 3.

    Is it possible to collapse the 3rd level so that the top 2 are expanded, only the lower levels (if any exist) are collapsed.

  2. Plamen
    Plamen avatar
    3079 posts

    Posted 10 Jun 2014 Link to this post

    Hello Andy ,

    You can use the NodeDataBound event and collapse the node in case its level is greater than 2 according to your scenario.

    Hope this information will help you solve the issue.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top