Thank you for writing.
As a descendant of RadDragDropService, RadGridViewDragDropService
handles the whole drag and drop operation. The PreviewDragOver
event allows you to control on what targets the row being dragged can be dropped on. The PreviewDragDrop
event allows you to get a handle on all the aspects of the drag and drop operation, the source (drag) grid, the destination (target) control, as well as the row being dragged. This is where we will initiate the actual physical move of the row(s) from one grid to the target control. A sample implementation is demonstrated in the following help article: http://docs.telerik.com/devtools/winforms/gridview/rows/drag-and-drop
In order to restrict the drag and drop behavior to be only within the same grid, the PreviewDragOver event is the suitable place. It is necessary to check whether the RadGridView on the dragged row and the target row is the same. Here is a sample code snippet:
sender, RadDragOverEventArgs e)
GridDataRowElement draggedRowElement = e.DragInstance
GridDataRowElement targetRowElement = e.HitTarget
&& targetRowElement !=
&& draggedRowElement.GridControl == targetRowElement.GridControl)
I hope this information helps. Should you have further questions I would be glad to help.