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

Close RadContextMenu on drag release

1 Answer 27 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Trystan
Top achievements
Rank 1
Trystan asked on 08 May 2012, 11:15 AM
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

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 May 2012, 08:13 AM
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 >>

Tags
Menu
Asked by
Trystan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or