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

RadDragAndDropManager, Drop Out of Browser

2 Answers 64 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 02 Sep 2011, 09:36 PM
Telerik Team,

Using the RadDragAndDropManager, in ExecutionMode = Legacy with the latest DLLs, if I drag an item out of the browser, and drop it out of the browser, the drop never registers.  So when I move the mouse back onto the browser, the drag operation is still in effect even though the mouse button is not pressed.

I can solve this problem by using .MouseCapture() in the OnDragQuery handler.  Thus, when the button is released off screen, the drag operation is abandoned properly.

However, this technique does not work in ChildWindows.  Even if I add the ChildWindow or the ListBox to the args.Options.ParticipatingVisualRoots.  In fact, using .MouseCapture() at all in the OnDragQuery handler stops all drag and drop functionality even though I used the exact same code as in a non-child window.

Is there a more proper way of handling drops that occur off-screen for ChildWindows?

If I can upload a complete project if that would help.

Thanks!

 

 

 

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 03 Sep 2011, 11:29 AM
Hi Tim,

Yes , you can upload a project. For this you will need to open a support ticket refering this thread ( id 460572).
The project will be definitely helpful in solving the issue.

Regards,
Pavel Pavlov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Tim
Top achievements
Rank 1
answered on 04 Sep 2011, 10:50 PM
I uploaded a project in Ticket # 460735.

Let me know if you have any questions.  Thanks for your help!

- Tim
Tags
DragAndDrop
Asked by
Tim
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Tim
Top achievements
Rank 1
Share this question
or