Drag multiple rows from bound grid

2 posts, 0 answers
  1. Martin
    Martin avatar
    35 posts
    Member since:
    Jun 2014

    Posted 04 Oct Link to this post

    Hi,

    I have a radgridview that is populated with data via a LINQ query.

    LINQ returns an async list and if it is not a null list the datasource of the grid is set.

    After the grid is populated I want to be able to grab multiple rows in it (perhaps by holding CTL) and then drag these rows into another grid / control.

    I have got this to work on a grid populated with simple data via a loop. I can't get it to drag when it has a datasource set.

    Can anyone help?

    Thanks,
    Martin.

  2. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 05 Oct Link to this post

    Hello Martin,

    Thank you for writing.  

    The following help article demonstrates a sample approach how to implement drag and drop functionality between two RadGridView controls:  http://docs.telerik.com/devtools/winforms/gridview/rows/drag-and-drop

    A full runnable project is available in the following blog post: http://www.telerik.com/blogs/extending-radgridview-to-enable-row-drag-and-drop-functionality

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top