'Declaration
Public Event ValidationError As ValidationErrorEventHandler
public event ValidationErrorEventHandler ValidationError
Event Data
The event handler receives an argument of type ValidationErrorEventArgs containing data related to this event. The following ValidationErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ErrorInfo | Error information. |
Reason | Validation phase on which the error has been detected. |
Text | The input text that caused the error. |
Value | If Reason = ErrorReasonEnum.PostValidationError, this is the value that caused the error. Otherwise, this property is null or DBNull. |
See Also