DelegateValidationControl.Validate Method
Checks to see whether the DelegateValidationControl instance is enabled, and, if so, calls the delegate callback function specified by the ValidationCallback property to validate the control.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub Validate
'Usage
Dim instance As DelegateValidationControl
instance.Validate()
public void Validate()
Remarks
The delegate callback function sets the IsValid property to indicate whether the control specified by the ControlToValidate property passed validation. The callback method can set the ErrorMessage() property to indicate the reason the validation failed.
See Also
Reference
DelegateValidationControl Class