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.
Unfortunately, activation email could not send to your email. Please try again.

Context Menu

Thread ID:





40335 Jan 31,2006 02:40 PM Feb 2,2006 10:52 AM Windows Forms 2
Tags: GridControl
Asked On January 31, 2006 02:40 PM

In using the grid with a ContextMenuStrip, the context menu does appear with the right click except it also continues to select the row wherever I right clicked. How do I prevent that selection from occuring?

Administrator [Syncfusion]
Replied On February 1, 2006 01:55 AM

Hi, Setting the this.gridControl1.SelectCellsMouseButtonsMask = ((System.Windows.Forms.MouseButtons)((System.Windows.Forms.MouseButtons.Left | System.Windows.Forms.MouseButtons.Middle))); will prevent the row from getting selected when it is right clicked. Regards, Calvin.

Replied On February 2, 2006 10:52 AM

Oh! I missed it and this was obvious. Thank you.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.