if (radgrid.CurrentCell.IsInEditMode==false)
{
if (e.KeyCode == Keys.Delete)
{
e.IsInputKey = true;
}
}
I need to disable Delete key when the above condition satisfies, but the above code is not working, when i select a cell and press Delete button, cell is getting deleted.
How to disable the delete key?
{
if (e.KeyCode == Keys.Delete)
{
e.IsInputKey = true;
}
}
I need to disable Delete key when the above condition satisfies, but the above code is not working, when i select a cell and press Delete button, cell is getting deleted.
How to disable the delete key?