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.
The Data Bound Item will be updated only if the cell is validated.It will show an error indicator at the row header when you set this property to a non empty string. The code snippet below demonstrates simple data validation scenario. Note that only the Cell Validating event can keep the editor active,when the validation fails and it does not allow the user to exit the cell until a valid value is filled.However, pressing the Esc key in this situation will revert the initial value of the cell and it will close the editor. The Row Validating event has a slightly different behavior.