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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Right-click de-selects all selected items

Thread ID:





67369 Aug 16,2007 03:30 AM UTC Aug 16,2007 05:16 AM UTC WinForms 2
Tags: GridControl
Kent Boogaart
Asked On August 16, 2007 03:30 AM UTC

I saw a post elsewhere discussing this problem with another of the grid controls, but the remedy does not appear to apply to the data-bound grid.

How can I stop a right-click from deselecting all selected items in my data-bound grid? If the user has 3 items selected and they right-click one of them, it shouldn't de-select 2 of the items.


Jeba S [Syncfusion]
Replied On August 16, 2007 04:40 AM UTC

Hi KB,

Thank you for posting query to us.

You can use the SelectCellsMouseButtonsMask property to prevent the right button from affecting any selections.

this.gridDataBoundGrid1.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;

Please refer the sample and let us know if this helps.

Thank you for using Syncfusion Products.

Best Regards,

Kent Boogaart
Replied On August 16, 2007 05:16 AM UTC

Sweet - thanks.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon