Radgrid previewkydown event

1 posts, 0 answers
  1. Vidhya
    Vidhya avatar
    3 posts
    Member since:
    Jun 2014

    Posted 13 Nov 2014 Link to this post

    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?

Back to Top