I have a winform application that contain a radgridview. Only one cell is set to enable editing. The remaining cells are read only. I have several radgridview event handle that perform different computation. When I'm editing a cell and hit the tab key it jump to the next cell(perfect). My problem is when I hit the "Enter" key, it throw a sort of infinite loop error. How can I disable the "Enter" key or change the behavior to mimic the tab key function? I try the below but it doesn't catch the "Enter" key action. I was reading that the enter key triggers functionality in our Grid (end edit, move to next row, etc.),
private void radGridView1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
e.SuppressKeyPress = true;
}
}
e.Handled = true;method - MethodMan