Hi, telerik team,
I'd like to make My radtreeview allows 'Drop' only from other control and prohibit
drag & drop within treelistview as well.
So, I placed 'telerik:RadDragAndDropManager.AllowDrop="True" without 'IsDragDropEnabled="True"'
and so far so good, however I can't get target row OnDropInfo.
Follwoing is the part of the code I grabbed from some thread here.
e.Options.Destination always says 'RadTreeListView' instead of GridViewRow,
so destinationRow is always null.
How could I get target row of treeListView ?
RGDS
Kang
I'd like to make My radtreeview allows 'Drop' only from other control and prohibit
drag & drop within treelistview as well.
So, I placed 'telerik:RadDragAndDropManager.AllowDrop="True" without 'IsDragDropEnabled="True"'
and so far so good, however I can't get target row OnDropInfo.
Follwoing is the part of the code I grabbed from some thread here.
internal void OnDropInfo(object sender, DragDropEventArgs e)
{
if (e.Options.Status == DragStatus.DropComplete)
{
GridViewRow destinationRow = e.Options.Destination as GridViewRow;
if (destinationRow == null)
return;
// Get the drag cu that the TreeView or we have created
e.Options.Destination always says 'RadTreeListView' instead of GridViewRow,
so destinationRow is always null.
How could I get target row of treeListView ?
RGDS
Kang