Hi there
For the past day I'm trying to implement drag and drop behavior in the same gridview. I used the demo example to implement this.
The events are fired when I click a row and drag, but the row isn't dropped.
When I debug the code, the DragDropPayloadManager.GetDataFromObject() method returns null in OnRowDragOver and OnDrop for the following lines:
Because of that, both events return nothing.
Am I missing something?
Thanks in advance
Lowie
For the past day I'm trying to implement drag and drop behavior in the same gridview. I used the demo example to implement this.
The events are fired when I click a row and drag, but the row isn't dropped.
When I debug the code, the DragDropPayloadManager.GetDataFromObject() method returns null in OnRowDragOver and OnDrop for the following lines:
--- OnRowDragOver
var details = DragDropPayloadManager.GetDataFromObject(e.Data,
"DropDetails"
)
as
DropIndicationDetails;
--- OnDrop
var draggedItem = DragDropPayloadManager.GetDataFromObject(e.Data,
"DraggedItem"
);
var details = DragDropPayloadManager.GetDataFromObject(e.Data,
"DropDetails"
)
as
DropIndicationDetails;
Because of that, both events return nothing.
Am I missing something?
Thanks in advance
Lowie