Mega Code Archive
You can associate a custom validation function with the CustomValidator control
ControlToValidate: The ID of the form field being validated.
Text: The error message.
ClientValidationFunction: The name of a client-side function.
ServerValidate: This event raised when the CustomValidator performs validation.
<%@ Page Language="C#" %>
Show CustomValidator