ContextMenu closes on Focus

2 posts, 1 answers
  1. Josh
    Josh avatar
    27 posts
    Member since:
    Feb 2012

    Posted 31 Jan 2013 Link to this post

    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.
  2. Answer
    Rosen Vladimirov
    Rosen Vladimirov avatar
    649 posts

    Posted 04 Feb 2013 Link to this post

    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.

Back to Top