Skip to content

SaveRequestHandler<TRow,TSaveRequest,TSaveResponse>.ValidateForm method

Validates the row by a form, i.e. by what the form checks in the browser that the row doesn't, see FormValidationAttribute. It is called for the form of GetValidationForm, and can be called for others.

protected virtual void ValidateForm(Type formType)
parameter description
formType The type of the form.

Exceptions

exception condition
ValidationError A field is not valid by the form.

See Also