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

[Solved] After showing a context menu it takes two mouse clicks to focus on something else

1 Answer 86 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amit Patel
Top achievements
Rank 1
Amit Patel asked on 29 Jul 2011, 07:47 PM
Hello,
I have a grid where I am showing a context menu when user left click on the cell, but when I right click on another cell, it takes two mouse click to get it focused. However, if i don't have contect menu open then it just take one click to get the cell focused.

I have attached the image to show you the contect menu. 
 
let me know if there is any solution to fix this?

Thanks,
Amit

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 01 Aug 2011, 12:34 PM
Hello Amit Patel,

This would be the expected behavior since when the context menu is opened, the first click outside the menu is used for closing it. In this case the context menu is the one that handles the mouse event not the grid. Consequently, the cell is not selected on the first click.
 

Kind regards,
Maya
the Telerik team

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

Tags
GridView
Asked by
Amit Patel
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or