This is a migrated thread and some comments may be shown as answers.

PreviewDragStarted not firing for RadTreeView updating to Q3 2014

1 Answer 59 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jason Moore
Top achievements
Rank 1
Jason Moore asked on 20 Jan 2015, 11:03 PM
Hi,

I tried updating the Telerik DLL's  from file version 2013.3.1016.1050 to the newer DLLs from Q3 2014
and noticed that the PreviewDragStarted is no longer firing for my RadTreeView.

Any idea why?

Thanks

1 Answer, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 22 Jan 2015, 09:35 AM
Hello Jason,

During the last year we did some improvements in the RadTreeView control. We refactored the built-in drag&drop logic. Currently the control supports two drag drop managers to handle the corresponding commands through the attached property telerik:TreeViewSettings.DragDropExecutionMode, ​ which allows users to switch between both managers. The New setting corresponds to the DragDropManager while the Legacy setting turns on the obsolete RadDragAndDropManager.

With Q2 2014 we've changed the default value of the attached property to New. This means that by default the DragDropManager will be activated. 

So, back to your question - if you need to use PreviewDragStarted event you can: 
1. Set the to DragDropExecutionMode to Legacy: 

<telerik:RadTreeView 
telerik:TreeViewSettings.DragDropExecutionMode="Legacy" IsDragDropEnabled="True" >
So, there would be no need to change anything else in your project.

2. Use the new DragDropManager and OnDragInitialized event. More about the DragDropManager events in RadTreeView you can see in our help topic Drag and Drop

Please excuse us for the inconvenience caused and let us know if you need any further assistance.

Regards,
Milena
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TreeView
Asked by
Jason Moore
Top achievements
Rank 1
Answers by
Milena
Telerik team
Share this question
or