Hello,
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.
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.
4 Answers, 1 is accepted
0
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:
http://msdn.microsoft.com/en-us/library/ms742859.aspx
http://msdn.microsoft.com/en-us/library/ms771293.aspx
Kind regards,
Miroslav
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
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:
http://msdn.microsoft.com/en-us/library/ms742859.aspx
http://msdn.microsoft.com/en-us/library/ms771293.aspx
Kind regards,
Miroslav
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

Ryan Black
Top achievements
Rank 1
answered on 29 Sep 2010, 03:16 PM
Has there been any update to this? I need to be able to drag/drop between 2 Treeviews.
Ryan
Ryan
0
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.
Greetings,
Tina Stancheva
the Telerik team
You can check out our TreeView DragAndDrop demo in WPF here. Give it a try and let us know if you need more info.
Greetings,
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
0

Ryan Black
Top achievements
Rank 1
answered on 29 Sep 2010, 03:40 PM
Thats perfect! Thanks.