ValidationEventArgs.SetError Method

Name Parameters Description
SetError(Object) errorContent Marks the processed input value as invalid and displays an error within the editor.
SetError(Object, ErrorType) errorContent, errorType Marks the processed input value as invalid and displays an error within the editor with the specified error icon type.