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

Drag multiple rows from bound grid

1 Answer 148 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 04 Oct 2016, 04:17 PM

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.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 05 Oct 2016, 11:13 AM
Hello Martin,

Thank you for writing.  

The following help article demonstrates a 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.
Tags
GridView
Asked by
Martin
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or