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

Sort Treeview Nodes

1 Answer 100 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Craig Estes
Top achievements
Rank 1
Craig Estes asked on 02 Jun 2010, 02:02 PM
Does anyone know of a way to sort the treeview nodes...besides sorting them before returning them from the provider.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 07 Jun 2010, 11:40 AM
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.

Regards,
Dobromir
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.
Tags
FileExplorer
Asked by
Craig Estes
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or