I can't seem to get the code to run the validator routine.
Here's what I have
protected System.Web.UI.WebControls.CustomValidator CustomValidator1;
In the HTML
<asp:CustomValidator id="CustomValidator1" runat="server" ErrorMessage="Must Be Gold Or Platinum" ControlToValidate="membershipLevelTBx" ClientValidationFunction="CustomerMembershipValidator"></asp:CustomValidator>
Then here is the routine in the code behind
private void CustomerMembershipValidator(object source, ServerValidateEventArgs arguments)
{
}
Everything I know I learned from The Grateful Dead and Buffy The Vampire Slayer
Charlie
Here's what I have
protected System.Web.UI.WebControls.CustomValidator CustomValidator1;
In the HTML
<asp:CustomValidator id="CustomValidator1" runat="server" ErrorMessage="Must Be Gold Or Platinum" ControlToValidate="membershipLevelTBx" ClientValidationFunction="CustomerMembershipValidator"></asp:CustomValidator>
Then here is the routine in the code behind
private void CustomerMembershipValidator(object source, ServerValidateEventArgs arguments)
{
}
Everything I know I learned from The Grateful Dead and Buffy The Vampire Slayer
Charlie