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

DragandDrop RadTreeView between two views

1 Answer 59 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Tuan
Top achievements
Rank 1
Tuan asked on 07 Nov 2011, 03:07 PM
Hi,

I have problem to using draganddrop between two views I would like to ask.
I have a mainpage.xaml contains to Views: Views1 and Views2.
Views1:
           <telerik:RadTreeView
                     x:Name=treeview1
                     IsDragDropEnabled = True;
                     AllowDrop = False />
Views2:
           <telerik:RadTreeView
                     x:Name=treeview2
                     AllowDrop = True />

I am using MVVM With ViewModels: TreeView1_Viewmodel -> Views1 and TreeView2_Viewmodel -> Views2.

Now I want to drag data in Views1 and drop in Views2. Could you please show me how to do it. Thank you very much.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 08 Nov 2011, 09:54 AM
Hello Tuan,

 As I have answered in your other thread, you could follow the approach in this online example.There it is shown how you could implement a drag drop between two RadTreeViews and between other controls.

For more information about drag and drop with RadTreeView, please check the help articles in our online documentation.

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DragAndDrop
Asked by
Tuan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or