SortOrder=Ascending + Drag'n'Drop

7 posts, 0 answers
  1. Brian
    Brian avatar
    3 posts
    Member since:
    Mar 2009

    Posted 04 Apr 2012 Link to this post

    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.
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 09 Apr 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. David
    David avatar
    159 posts
    Member since:
    Mar 2014

    Posted 04 Nov 2014 in reply to Stefan Link to this post

    Does that mean, that it is impossible to drag item into node and expect this item to drop into "sorted" position?
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 07 Nov 2014 Link to this post

    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.

     
  6. David
    David avatar
    159 posts
    Member since:
    Mar 2014

    Posted 07 Nov 2014 in reply to Stefan Link to this post

    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?
  7. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 10 Nov 2014 Link to this post

    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.

     
  8. David
    David avatar
    159 posts
    Member since:
    Mar 2014

    Posted 10 Nov 2014 in reply to Stefan Link to this post

    oops, sorry about that
Back to Top
UI for WinForms is Visual Studio 2017 Ready