I have a DataGridView with FullRowSelect=True and ReadOnly=True. This is a Search Results-type view for which the user can select one of the rows which is to open a form with the details of that record.
The CellContentClick event works fine, but I would like the user to also have the ability to use the keyboard and scroll through the records and press enter when they find the appropriate record.
I have tried both the RowEntered event, and the KeyPress (and KeyUp) events to try and capture the movement through the rows. Neither one seems to be happening.
Is there something else I should be trying? Or do does anyone have any examples of things that they know works?
The CellContentClick event works fine, but I would like the user to also have the ability to use the keyboard and scroll through the records and press enter when they find the appropriate record.
I have tried both the RowEntered event, and the KeyPress (and KeyUp) events to try and capture the movement through the rows. Neither one seems to be happening.
Is there something else I should be trying? Or do does anyone have any examples of things that they know works?