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.

how do I override keyboard Delete event?

Thread ID:

Created:

Updated:

Platform:

Replies:

3714 Apr 3,2003 08:03 AM Apr 3,2003 01:18 PM Windows Forms 3
loading
Tags: GridControl
Cathy Noakes
Asked On April 3, 2003 08:03 AM

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 08:12 AM

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 1.5.1.6 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 10:30 AM

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 01:18 PM

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

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.

;