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

GDBG CheckBoxCell canceling space bar hit event

Thread ID:





58718 Mar 27,2007 10:21 AM UTC Mar 27,2007 12:13 PM UTC WinForms 1
Tags: GridControl
david martin
Asked On March 27, 2007 10:21 AM UTC

How can i cancel space bar hit event before CheckBox check in GridDataBoundGrid ?

Jeba S [Syncfusion]
Replied On March 27, 2007 12:13 PM UTC

Hi David,

Please try handling CurrentCellKeyPress and check for the Space.

private void gridControl1_CurrentCellKeyPress(object sender, KeyPressEventArgs e)
if (e.KeyChar== ' ')
e.Handled = true;

Kindly let us know if this helps.

Best Regards,


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