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

Blocking of DEL Key

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 .

1 Reply

AD Administrator Syncfusion Team 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; }

Loader.
Up arrow icon