I am using your drag and drop service between grids. Code is working fine for 10 rows. Lager multirow selections error out. I have experimented and have determined that if the rows are not showing in the grid I get this error. For example, if my grid visually shows 10 rows and I select all of those rows and drag them to another grid all works fine.
If I select the first row and scroll down to select the 11th row while holding down the shift key, all eleven rows are selected. However dragging then to the other grid I get an error in the svc_PreviewDragDrop method on the line: var dragGrid = rowElement.ElementTree.Control as RadGridView;
Error Message below:
Date Time:1/9/2021 6:45:16 PM
Exception Name:Object reference not set to an instance of an object.
Event Name:System.NullReferenceException: Object reference not set to an instance of an object.
at SmartView_V2.frmMainForm.svc_PreviewDragDrop(Object sender, RadDropEventArgs e) in C:\Users\claud\Documents\Visual Studio 2019\Projects\SmartView V2\frmMainForm.cs:line 2387
Control Name:svc_PreviewDragDrop
Form Name:frmMainForm