Drag Drop between GridViews

6 posts, 0 answers
  1. Kennet
    Kennet avatar
    104 posts
    Member since:
    Jun 2009

    Posted 10 Aug 2014 Link to this post

    Hi,

    Since RadDragAndDropManager is obsolete this causes problems for me. I can't get DragDropManager to work.

    Is there a C# example where I can see how drag rows from one GridView to another GridView should be done?  I also need to know how to drag a row from GridView  to a "normal" WPF element like a button or Image.

    Thanks!
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 Aug 2014 Link to this post

    Hello,

    As an example, you can check how the GridViewDragDropBehavior is implemented in our "Row Reorder" and "Tree to Grid Drag" WPF Demos. The second one illustrates how to drag and drop between different controls.
    You can also check our online documentation on DragDropManager Migration.

    I hope this helps.

    Regards,
    Didie
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. Kennet
    Kennet avatar
    104 posts
    Member since:
    Jun 2009

    Posted 11 Aug 2014 in reply to Dimitrina Link to this post

    Hi Didie,

    Can you please provide me with a simple C# example, drag-drop from GridView "A" to GridView "B" and row reorder in GridView "B". and last drag-drop from GridView  "A" to a "normal" WPF element like a button or Image. . 

    I just renewed my DevCraft Complete licence for one more year.


    Thanks!
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 12 Aug 2014 Link to this post

    Hi,

    Actually the "Reorder Rows" demo is exactly row reorder in one GridView. We do no have an exact example on drag and drop between two RadGridViews, however, it is very similar to the demo I pointed to. Do you meet any specific problems using the two examples?

    Regards,
    Didie
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  5. Keaire
    Keaire avatar
    15 posts
    Member since:
    Nov 2013

    Posted 07 Dec 2014 Link to this post

    How do I change the style for a GridView's DragVisualProvider?
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 08 Dec 2014 Link to this post

    Hi,

    You can refer to our online documentation on how to customize the drag options:
    Set Drag Visual
    DragDropManager Overview.

    You can also check the "Row Reorder" and "Tree to Grid Drag" WPF Demos.

    Regards,
    Dimitrina
    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.

     
Back to Top