Posted on: 3/2/2015 10:09:08 AM | Views : 565

I am testing out some code and I thought that Page.IsValid would do a check against all of my custom validators/ required field validators / and regular expression validators before the information was submitted.  I have the below code where I change my password to 3 numbers (when there is a custom validator server side) and the email to not begin valid before I call Page.IsValid.  I thought that if I did this - it would run my client side/server side validators again to verify everything was still good. When the code below runs, I receive a Successful message - which is not right.   Can anyone help?
protected void radBtnSubmit_Click(object sender, EventArgs e) { radTxtPassword.Text = "234"; radTxtEmailAddress.Text = "asdfasdf"; if (Page.IsValid) { MessageBox.Show("Successful"); } else ...

Go to the complete details ...