Droping files to a RadDocking/DocumentHost

2 posts, 0 answers
  1. Vladimir
    Vladimir avatar
    1 posts
    Member since:
    Jan 2017

    Posted 25 Jan Link to this post

    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 

  2. Nasko
    Admin
    Nasko avatar
    692 posts

    Posted 30 Jan Link to this post

    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.
Back to Top