RadDragAndDropManager, Drop Out of Browser

3 posts, 0 answers
  1. Tim
    Tim avatar
    20 posts
    Member since:
    Aug 2011

    Posted 02 Sep 2011 Link to this post

    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.





  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 03 Sep 2011 Link to this post

    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.

    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 >>

  3. Tim
    Tim avatar
    20 posts
    Member since:
    Aug 2011

    Posted 04 Sep 2011 Link to this post

    I uploaded a project in Ticket # 460735.

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

    - Tim
Back to Top