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

Droping files to a RadDocking/DocumentHost

1 Answer 42 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Vladimir
Top achievements
Rank 1
Vladimir asked on 25 Jan 2017, 09:25 AM

Hi,  I have a wpf application which main area is RadDocking control with DocumentHost and so on.  Actually it is Tab MDI application based on RadDocking.  I would like to drag and drop files to this area of the application from windows explorer. For RadDocking I can handle PreviewDrop event,  but Drop event is not raised.  Feedback event is not raised to (for custom visual cursor).  I tried to work with DragDropManager but got same behavior.  Allow drop is set true for RadDocking control  and qindow as well.  Solutions? 

Thanks, 

Vladimir 

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 30 Jan 2017, 06:46 AM
Hello Vladimir,

Could you please provide us an information about the exact version of the controls you are currently using?

If you are using a version earlier than R3 2016 the Drop event is expected to not being raised, because internally we are handling it. The reason why are handling the Drop event internally is because it is needed for the Deferred DragDropMode. However, we are glad to inform you that we have mode some improvements in the Docking behavior and currently no DragDrop events are handled internally if the DragDrop is Immediate (the one you are probably using) - thus the Drop method should be called as expected. This changes are available since R3 2016 and are available with the latest official version R1 2017. So, if you are using version earlier than R3 2016 please, upgrade to our latest official release in order to make the events raised as expected.

However, if you are using version higher than R3 2016 and the events are still not raised, please provide us a sample that demonstrates your exact scenario and we will try to provide you with a prompt solution.

Hope the provided information will be helpful for you.

Regards,
Nasko
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
DragAndDrop
Asked by
Vladimir
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or