Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Validator neebee?

Status
Not open for further replies.

other3

Programmer
Jul 30, 2002
92
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top