Close RadContextMenu on drag release

2 posts, 0 answers
  1. Trystan
    Trystan avatar
    3 posts
    Member since:
    Jan 2012

    Posted 08 May 2012 Link to this post

    Hi,

    We host a view inside a rad context menu sub item which contains items which a user can drag out.

    However, when an item is dragged out of the popup and dropped elsewhere in the app, the menu does not close.

    I tried attaching to the mouse left button up on the Application.Current.RootVisual (in order to close the menu)  
    using add handler, with handledEventsToo  param set to true, but this event doesn't fire when dragging from the view.  I think it may be due to the mouse being captured while the drag is taking place.

    Do you have any suggestions about how to close the menu in this situation?

    Thanks
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 11 May 2012 Link to this post

    Hi Trystan,

    Is it possible for you to send us a simple project where this issue can be reproduced? It would be much easier for us to test the exact scenario. Note that you should open a support ticket and send the project as an attachment there. Thanks in advance.

    All the best,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top