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

Blocking of DEL Key

Thread ID:





18978 Sep 15,2004 02:22 AM UTC Sep 15,2004 05:48 AM UTC WinForms 1
Tags: GridControl
Asked On September 15, 2004 02:22 AM UTC

Hai, I am using GDBG and if I select multiple cells in the grid and press DEL key ,all the data in those cells will be erased .So I want to block the use of DEL key when I select multiple cells. Could u please help me out .

Administrator [Syncfusion]
Replied On September 15, 2004 05:48 AM UTC

Try handling the grid.Model.ClearingCells event. this.gridDataBoundGrid1.Model.ClearingCells += new GridClearingCellsEventHandler(Model_ClearingCells); private void Model_ClearingCells(object sender, GridClearingCellsEventArgs e) { e.Handled = true; e.Result = false; }


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