Assembly: System.Web (in System.Web.dll)
Initializes a new instance of theclass.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
A ServerValidate event handler to provide event data to the handler. The ServerValidate event is raised when validation is performed on the server. This allows you to perform a custom server-side validation routine on the value of an input control (with a CustomValidator control associated with it) in the event handler.is passed to the
For a list of initial property values for an instance of ServerValidateEventArgs constructor., see the
For more information about handling events, see NIB: Consuming Events.
The following example demonstrates how to use a ServerValidate event. Notice that the Value property of the is used to determine the value to validate, while the IsValid property is used to store the results of the validation.to pass event data to a custom event handler for the
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.