Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
Enabling the default context menu (Cut/Copy/Paste) on Edit mode of the cell
posted

Hi,

I have below requirement.
I want to show the default context menu provided ny the ultragrid when the cell is in edit mode
but I want to display my own context menu when cell is not in edit mode.

I tried below but no suceess.

1)In AfteEnterEditMode event, i made the contextmenustrip of the grid to null and again assigned it on the afterexiteditmode
but it always displayed my contextmenu even in the edit mode.

2)In mouse up event i tried to handle the right click, but when cell is in the edit mode ultragrid's mouse up event does not get
fired.

Need some help urgently.

Thanks
Pravin