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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Context Menu

Thread ID:

Created:

Updated:

Platform:

Replies:

40335 Jan 31,2006 07:40 PM UTC Feb 2,2006 03:52 PM UTC WinForms 2
loading
Tags: GridControl
va
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.

va
Replied On February 2, 2006 03:52 PM UTC

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

CONFIRMATION

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.

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

;