Hello Telerik,
Some questions about migrating from RadDragDropManager to DragDropManager need your help.
In our application, DragDrop is only used within one TreeView. So "IsDragDropEnable=True" is set.
Also, the following event handlers are subscribed to handle dragdrop events:
1. DragDropManager.AddDragInitializeHandler
2. DragDropManager.AddDragDropCompletedHandler
3. DragDropManager.AddDropHandler'
The problem is that if drag and drop items in the Treeview only fires DragDropCompleted event .
The "TargetItem" cannot be acquired through DragDropCompletedEventArgs.
So DragDropManager is not enough to handle the DragDrop within one TreeView.
But the RadDragDropManager can.
While if there are DragDrops among one TreeView and another TreeView or GridView, all the three events can be fired.
Also, handling the Events of TreeView: DragEnded, PreviewDragEnded, PreviewDragStarted can work for us.
So, the questions are:
1. How does DragDropManager work for DragDrop in the TreeView?
2. What are the differences between using DragDropManager and handling TreeView DragDrop Events?
3. Do we need to migrate DropManager to the latest one for our case? (Online documentation told us that the DragDropManager fixed some bugs)
Thanks.
Best,
Tuo
Some questions about migrating from RadDragDropManager to DragDropManager need your help.
In our application, DragDrop is only used within one TreeView. So "IsDragDropEnable=True" is set.
Also, the following event handlers are subscribed to handle dragdrop events:
1. DragDropManager.AddDragInitializeHandler
2. DragDropManager.AddDragDropCompletedHandler
3. DragDropManager.AddDropHandler'
The problem is that if drag and drop items in the Treeview only fires DragDropCompleted event .
The "TargetItem" cannot be acquired through DragDropCompletedEventArgs.
So DragDropManager is not enough to handle the DragDrop within one TreeView.
But the RadDragDropManager can.
While if there are DragDrops among one TreeView and another TreeView or GridView, all the three events can be fired.
Also, handling the Events of TreeView: DragEnded, PreviewDragEnded, PreviewDragStarted can work for us.
So, the questions are:
1. How does DragDropManager work for DragDrop in the TreeView?
2. What are the differences between using DragDropManager and handling TreeView DragDrop Events?
3. Do we need to migrate DropManager to the latest one for our case? (Online documentation told us that the DragDropManager fixed some bugs)
Thanks.
Best,
Tuo