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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how do I override keyboard Delete event?

Thread ID:





3714 Apr 3,2003 01:03 PM UTC Apr 3,2003 06:18 PM UTC WinForms 3
Tags: GridControl
Cathy Noakes
Asked On April 3, 2003 01:03 PM UTC

I have a grid control in which most of the cells are read only and only cells in certain columns may be edited. One of our testers discovered that when he clicks on the Delete key on the keyboard the current row is cleared. I want to suppress this behavior.

Cathy Noakes
Replied On April 3, 2003 01:12 PM UTC

I apologize for the rather abrupt nature of the last message; I hit Post before I had finished typing. I should mention that I am using version of the Essential Grid. Please let me know what I can do to trap this event. Thanks, Cathy

Administrator [Syncfusion]
Replied On April 3, 2003 03:30 PM UTC

You can catch the ClearingCells event and set e.Handled to true if the e.RangeList contains a cell that you do not want to clear.

Cathy Noakes
Replied On April 3, 2003 06:18 PM UTC

Thanks very much, Clay. That did the trick! Regards, Cathy


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