DragandDrop RadTreeView between two views

2 posts, 1 answers
  1. Tuan
    Tuan avatar
    4 posts
    Member since:
    Sep 2011

    Posted 07 Nov 2011 Link to this post

    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.
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 08 Nov 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top