I have browsed this and other sites, but not found a solution. Any tips/pointers are appreciated.
Use case: add a new row to a DataGridView, allow user to enter data cell by cell in this new row. When ENTER is clicked in each cell, data goes through validation.
If validation passes, cell becomes readonly, focus moves to the next cell.
If validation fails, an error message appears in the status bar, focus remains on the cell, and cell remains in edit mode, allowing the user to amend the data.
Which events should be handled? What should the body of the handler be? I've experimented with CellValidating/BeginEdit/EndEdit but not been successful.