Sort Treeview Nodes

2 posts, 0 answers
  1. Craig Estes
    Craig Estes avatar
    2 posts
    Member since:
    May 2010

    Posted 02 Jun 2010 Link to this post

    Does anyone know of a way to sort the treeview nodes...besides sorting them before returning them from the provider.
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 07 Jun 2010 Link to this post

    Hi Craig,

    RadFileExplorer is using the RadTreeView control to provide this functionality. Unfortunately, the tree nodes in RadFileExplorer are nodes with a template and such nodes cannot be moved client side. That is why we suggest such manipulations to be done in the content provider.

    In addition, you can get reference to the RadTreeView client object using the RadFileExplorer's get_tree() client-side method. After that, you can access the RadTreeView's TreeNodeCollection and modify the nodes' order.

    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
Back to Top