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

How do I prevent the BACKSPACE key from deleting the contents of the cell

Thread ID:





59479 Apr 13,2007 03:31 PM UTC Apr 16,2007 06:56 PM UTC WinForms 1
Tags: Grouping
James Blibo
Asked On April 13, 2007 03:31 PM UTC

I have tried the snippet below, but it only works for the DELETE key, it does not work for the backspace key. I have even tried
e.Inner.KeyCode == Keys.Back but that doesn't work either.

private void gridGroupingControl1_TableControlCurrentCellKeyDown(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlKeyEventArgs e)
//do not allow delete key to delete contents of cell
if (e.Inner.KeyData == Keys.Delete || e.Inner.KeyData == Keys.Back)
e.Inner.Handled = true;

haneefm [Syncfusion]
Replied On April 16, 2007 06:56 PM UTC

Hi James,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify the GGCKeyBackSpace.zip sample to reproduce the issue here? This will help us to analyse the issue further.

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

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