Radgridview rowvalidating

You can validate data by handling Cell Validating event which is raised by Rad Grid View when the current cell changes or when the cell loses input focus (when pressing key).

Canceling this event prevents the user from exiting the cell until a valid editor value is entered or the edit process is canceled.

This is important in the event the user clicks empty space, or if there is only one row.

The edited values are committed to the databound object even though Row Validating/Row Validated have not been called.

The Row Validating code snippet below does not work, because once the focus moves away from the gridview to the Save button, the if (row ! Hi Jeff, please refer to the following thread, where I have addressed your questions: Your comments do not concern this item, it is rather a feedback on the behavior you would like Rad Grid View to support.Here is a list of all validation events: Cell Validating: Fires when a cell loses input focus, enabling content validation. Cell Validated: Fires after the cell has finished validating. Row Validated: Fires after a row has finished validating.

Leave a Reply