Drag drop between two treeviews

5 posts, 0 answers
  1. Prash
    Prash avatar
    27 posts
    Member since:
    Jan 2009

    Posted 01 Apr 2009 Link to this post


    I am looking for the following functionality
    I have two treeviews which are bound to two different collections. I want that when I drag the item from one treeview to another it (the item) should move to the other treeview in the hierarchy level I drop it to, with the drag effect .
    Can this be achieved ?
    Any code sample will be helpful.

  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 04 Apr 2009 Link to this post

    Hi Prash,

    Currently the WPF RadTreeView does not support built-in corss-control DragDrop. We are planning to include out Dragdrop framework in WPF to simplify this, but in the meantime you can use the WPF default DragDrop.

    It revolves around adding handlers for the events of the DragDrop class. There are 12 events that handle starting, continuing and finishing a DragDrop operation.

    You can read more about it in these MSDN articles:



    Kind regards,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Ryan Black
    Ryan Black avatar
    54 posts
    Member since:
    Mar 2010

    Posted 29 Sep 2010 Link to this post

    Has there been any update to this?  I need to be able to drag/drop between 2 Treeviews.

  4. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 29 Sep 2010 Link to this post

    Hi Ryan Black,

    You can check out our TreeView DragAndDrop demo in WPF here. Give it a try and let us know if you need more info.

    Tina Stancheva
    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
  5. Ryan Black
    Ryan Black avatar
    54 posts
    Member since:
    Mar 2010

    Posted 29 Sep 2010 Link to this post

    Thats perfect!  Thanks.
Back to Top