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

ContextMenu closes on Focus

1 Answer 50 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 31 Jan 2013, 04:43 PM
We recently upgraded from the Q1 controls to the Q3 controls and noticed some unexpected behavior with the ContextMenu.  We have a screen where when a user mouses over a map, it sends focus to another element.  With the Q3 controls, if a ContextMenu is open and another element receives focus, the menu closes.  But the menu never fires it's Closed event and if you debug the code, you'll see that the IsOpen flag on the menu is still set to true.  It seems as if the menu just disappears.

To test this, I created a project with a 300x300 Grid with a Textbox and created a handler for the MouseEnter event of the grid to set focus on the texbox.  I can open a support ticket and attach the project if need be.

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen Vladimirov
Telerik team
answered on 04 Feb 2013, 04:07 PM
Hello Josh,

Thank your for reporting this bug. It is expected to close RadContextMenu when another element receives focus, but it should execute Closed handler. The fix will be included in our next internal build.

I've updated your Telerik Points as a small sign of our appreciation for your efforts.

All the best,
Rosen Vladimirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Menu
Asked by
Josh
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or