I am using RadGridView and using CellValidating event to handle errors and display error message:
sender, GridViewCellValidatingEventArgs e)
var validationText =
var isValid =
var cell = e.Cell;
//Some business logic here for to set isValid and validationText based on which column the cell belongs to
e.ErrorMessage = validationText;
e.IsValid = isValid;
The event gets fired when I move away from cell, and is fired for the same cell only from which user moved out.
I need this event to be fired for all cells in the recently added row as soon as user clicks outside the grid so that all the cell contents are validated.
Currently since all cells doesn't get validated, user is able to invoke final 'Save' functionality since there is no validation error message.
Looking forward for your suggestion