Hi,
I am implementing Drag and Drop functionality between two RadGridViews
I have implemented this in a similar format to
http://www.telerik.com/community/forums/silverlight/drag-and-drop/drop-to-a-datagridrow.aspx#654538
I am able to drag and drop between the two RadGridViews, however, I would like to be able to drop the information in whatever row it is dragged to
My aim was to have OnDragInfo event remove the data entry, then OnDropInfo event add it into the appropriate destination row
If I implement my solution using this method, something unusual happens
If it is dropped onto the DataGrid itself, the "OnDropInfo" event is called
However, if I dropped it onto a DataGridRow, then "OnDropInfo" event is not called
If I comment out the line "SomeObjectList.Remove....", then OnDropInfo is called irrelevant of where I drop it on the DataGrid or a Row
I am implementing Drag and Drop functionality between two RadGridViews
I have implemented this in a similar format to
http://www.telerik.com/community/forums/silverlight/drag-and-drop/drop-to-a-datagridrow.aspx#654538
I am able to drag and drop between the two RadGridViews, however, I would like to be able to drop the information in whatever row it is dragged to
My aim was to have OnDragInfo event remove the data entry, then OnDropInfo event add it into the appropriate destination row
private void OnDragInfoDataGrid(object sender, DragDropEventArgs e) |
{ |
if (e.Options.Status == DragStatus.DragComplete) |
{ |
SomeObjectList.Remove(e.Options.Payload as SomeObject); |
} |
} |
If I implement my solution using this method, something unusual happens
If it is dropped onto the DataGrid itself, the "OnDropInfo" event is called
However, if I dropped it onto a DataGridRow, then "OnDropInfo" event is not called
If I comment out the line "SomeObjectList.Remove....", then OnDropInfo is called irrelevant of where I drop it on the DataGrid or a Row