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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Context Menu

Thread ID:





40335 Jan 31,2006 07:40 PM UTC Feb 2,2006 03:52 PM UTC WinForms 2
Tags: GridControl
Asked On January 31, 2006 07:40 PM UTC

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 06:55 AM UTC

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 03:52 PM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon