This is a migrated thread and some comments may be shown as answers.

Radgrid previewkydown event

0 Answers 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vidhya
Top achievements
Rank 1
Vidhya asked on 13 Nov 2014, 10:32 AM
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?

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Vidhya
Top achievements
Rank 1
Share this question
or