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

SortOrder=Ascending + Drag'n'Drop

6 Answers 117 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 04 Apr 2012, 02:43 PM
This (to me) seems to be a bit of an odd one.

I have a RadTreeView, if I set the SortOrder to None,  then Drag'n'Drop features work .. as i'd expect.

If I set the SortOrder to Ascending;  then Drag'n'Drop appears to be switched off?


Am I missing something?   Is there a setting I need,  or do I have to either implement my own custom sorting or custom drag'n'drop?

Thanks
Brian.

6 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 09 Apr 2012, 12:18 PM
Hello Brian,

Thank you for writing.

The observed behavior is the normal behavior, since when you have a sorted the tree, the drag and drop operation does not make sense. You cannot change the position of a node in a sorted tree, since it has to be in a certain position according to the sort order.

I hope that you find this information useful.

Regards,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 04 Nov 2014, 10:25 PM
Does that mean, that it is impossible to drag item into node and expect this item to drop into "sorted" position?
0
Stefan
Telerik team
answered on 07 Nov 2014, 12:24 PM
Hi David,

I have just tested this behavior with our latest version and it does work as you described. One can drag and drop the nodes, and once a node is dropped, it get sorted right away. See attached video.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
 

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.

 
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 07 Nov 2014, 09:04 PM
Hi Stefan,

  Thank you for response, however i don't have SortOrder method for RadTreeView for some reason.
  I just update my Telerik.Web.UI to 2014.3.1024.40 version, but no still no luck

  Ideas?
0
Stefan
Telerik team
answered on 10 Nov 2014, 08:03 AM
Hi David,

This forum concerns Telerik UI for WinForms, while your question appears to be related to Telerik UI for ASP.NET. Please address your question in the appropriate forums in order to get adequate answer: http://www.telerik.com/forums/aspnet-ajax/treeview.

I hope that you find this information useful.

Regards,
Stefan
Telerik
 

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.

 
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 10 Nov 2014, 01:57 PM
oops, sorry about that
Tags
Treeview
Asked by
Brian
Top achievements
Rank 1
Answers by
Stefan
Telerik team
David
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or