This question is locked. New answers and comments are not allowed.
Hi,
We have an editable grid. The object that are bound to the grid use DataAnnotation attribues for validation. When we are binding to an existing collection of objects some are invalid according to the validation rules (for example int property1 > int property2). If the user never makes any changes to these invalid rows the validation is never fired.
What we are trying to
achieve is when the user clicks “Save” all rows in the grid are
validated or they are validated one by one and the focus stops on the
first invalid row i.e. save is prevented until all invalid rows are
corrected.
Thanks