I'm making an ASP.Net registration form. It has username, password + confirmation, first name, last name, email, address info...all the things expected from a registration form.
I'm using client-side validators in the ASP form. They seem to be working ok. They're all required field validators, except for a couple regex for email address, phone number and zip code, and a compare validator to make sure the user selects a state from the dropdownlist. This is all pretty standard stuff.
However, when I check Page.IsValid, it always evaluates to False, even if all the form's fields are perfect. So, the data never gets stored.
For clarification, I'm using an <asp:button> to call a 'button_click(source as object, e as EventArgs)' sub, which is where I'm checking Page.IsValid from.
I'm a little rusty on ASP.Net. So what am I doing wrong?