We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Left click and right click with a context menu

I have a grid with a context menu assigned to it. If I left click in the grid and the line is editable, and then r click in it, the context menu is not shown. I have to click somewhere else, and then right click in the grid to get the context menu to display. Is there a way around this. Thank you, Justin

3 Replies

AD Administrator Syncfusion Team September 15, 2003 04:08 PM UTC

Here is a sample that I think will work for any case. It uses the grid_MouseUp event to handle all right clicks that the grid catches, and dynamically hooks the cellcontrol_MouseUp in CurrentCellControlGotFocus and unhooks it in CurrentCellControlLostFocus.


JH Justin Holman October 2, 2003 09:04 PM UTC

Do you have this sample for VB.NET


AD Administrator Syncfusion Team October 3, 2003 03:16 PM UTC

Converted project is attached. Stefan

Loader.
Live Chat Icon For mobile
Up arrow icon