I am using the drag and drop feature of the RadGrid. I am attempting to determine where in the grid I am dragging and dropping a specific row. Say my grid has 4 rows. I attempt to move the first row to the last row. When I go into e.DraggedItems.DataItem(0).Row.newRecord I see that the newRecord number is the same as oldRecord. I also get an error saying that a non-negative number is required for parameter length if I attempt to do something like
I am only attempting to get the first row that is dragged as I have multi drag turned off.
Am I going about getting the dropped location correctly? Or is there a better way?
If
e.DraggedItems.DataItem(0).Row.newRecord = e.DraggedItems.DataItem(0).Row.oldRecord
Then
End
If
I am only attempting to get the first row that is dragged as I have multi drag turned off.
Am I going about getting the dropped location correctly? Or is there a better way?