This question is locked. New answers and comments are not allowed.
We use a GridView in a form application. One part of the form has some questions that need to be filled in. The GridView has two columns - one column has the questions we need answered, and the other column has a TextBox where the answer is entered.
Generally speaking, this works fine, however our clients complain that it is difficult to navigate. They want to be able to fill in the the TextBox, then press the Tab key to tab down to the next TextBox and keep going.
First I tried using the RowLoading() event to modify each TextBox and give it a sequential TabIndex # and IsTabStop=True, however pressing the tab key still just goes back to tabbing through the various rows/cells and never actually enters the TextBox.
Then I tried some fancier logic, which iterates through all the TextBoxs in the Grid, finds the one you are on, and tries to set the Focus() to the next TextBox in the grid. I traced the code and everything I wrote is being called, it should work, but again, pressing tab just causes the Rows/Cells to highlight, and the TextBoxs never receive focus via the keyboard.
I can only assume that the GridView itself is somehow intercepting the tab presses and stealing the focus for it's own purposes. Is there a way to disable this, or get around it?
Generally speaking, this works fine, however our clients complain that it is difficult to navigate. They want to be able to fill in the the TextBox, then press the Tab key to tab down to the next TextBox and keep going.
First I tried using the RowLoading() event to modify each TextBox and give it a sequential TabIndex # and IsTabStop=True, however pressing the tab key still just goes back to tabbing through the various rows/cells and never actually enters the TextBox.
Then I tried some fancier logic, which iterates through all the TextBoxs in the Grid, finds the one you are on, and tries to set the Focus() to the next TextBox in the grid. I traced the code and everything I wrote is being called, it should work, but again, pressing tab just causes the Rows/Cells to highlight, and the TextBoxs never receive focus via the keyboard.
I can only assume that the GridView itself is somehow intercepting the tab presses and stealing the focus for it's own purposes. Is there a way to disable this, or get around it?