Edit

Share via


CustomValidator.ServerValidate Event

Definition

Occurs when the CustomValidator validates the value of the ControlToValidate property. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 event System::Web::UI::WebControls::ServerValidateEventHandler ^ ServerValidate;
[System.ComponentModel.Bindable(false)]
public event System.Web.UI.WebControls.ServerValidateEventHandler ServerValidate;
[<System.ComponentModel.Bindable(false)>]
member this.ServerValidate : System.Web.UI.WebControls.ServerValidateEventHandler 
Public Custom Event ServerValidate As ServerValidateEventHandler 

Event Type

Attributes

Remarks

If a method is registered with this event, it is called with the value of the ControlToValidate property. Validation succeeds only if this event handler returns true.

Applies to

See also