protected void vldCustomCustomerID_ServerValidate(object source, ServerValidateEventArgs args) { if (this.IsValid) { args.IsValid = CustomerDB.CustomerIDExists(int.Parse(args.Value)); } }