At this point the user is not allowed to cancel the performed changes, pressing the Esc key.
Rad Grid View provides a convenient way to perform validation before data is committed to the underlying data source.
This funtionality can be easily implemented by handling the Preview Key Down event, which will revert the row changes after pressing the Esc key.
Let's assume that the If the user enters empty string for a specific cell and tries to navigate to another row, the validation fails and the Error Text is displayed on the corresponding row.
Validation with Rad Grid View for Win Forms In this video you will learn how to use the event-based Validation functionality in Rad Grid View for Win Forms.
Learn how to use the Cell Validating and Row Validating events to ensure user input is valid.
Learn how to use the Cell Validating and Row Validating events to ensure user input is valid.I use the gridview's row validating event to perform some validations.All database methods in my persistence framework are defined async.When the validation fails, the editor is closed, but the user cannot change the current row in the grid until a valid cell value is entered.In this situation the editor is not kept active when the validation fails and pressing the Esc key does not revert the changes as the editor is already closed.