The CustomValidator.ServerValidate event is raised when validation is performed on the server. This event is used to provide a custom validation routine for an input control, such as a System.Web.UI.WebControls.TextBox control.
For more information about handling events, see Events and Delegates.