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.
Syncfusion Feedback

GDBG CheckBoxCell canceling space bar hit event

Thread ID:

Created:

Updated:

Platform:

Replies:

58718 Mar 27,2007 10:21 AM UTC Mar 27,2007 12:13 PM UTC Windows Forms 1
loading
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,
Jeba.

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

;