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.

GDBG CheckBoxCell canceling space bar hit event

Thread ID:

Created:

Updated:

Platform:

Replies:

58718 Mar 27,2007 06:21 AM Mar 27,2007 08:13 AM Windows Forms 1
loading
Tags: GridControl
david martin
Asked On March 27, 2007 06:21 AM

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

Jeba S [Syncfusion]
Replied On March 27, 2007 08:13 AM

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.

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.

;