I have a treeview that the user can drag items from and drop them on a grid. Currently the dropped items go to the bottom of the grid. Is there a way I can get the row that the user dropped the items on?
The method that handles the drop is :
The method that handles the drop is :
protected void tvReportColumn_HandleDrop(object sender, RadTreeNodeDragDropEventArgs e){ RadTreeNode sourceNode = e.SourceDragNode; RadTreeNode destNode = e.DestDragNode; if ((e.HtmlElementID == RadGrid1.ClientID)) { foreach (RadTreeNode node in e.DraggedNodes) { AddRowToGrid(node); } } RadGrid1.Rebind();}