views:

54

answers:

1

Hi I used required field valiator.

now if I disable javascript. I can submit the form, why? No serverside validation?

I have set the validaton group of the submit button and the validator..

Thank you

+6  A: 

Are you checking Page.IsValid within the submit button's serverside Click event?

Forgotten Semicolon
Hmm no. But I thought I get the same error message, even after the postback?... is this not possible? how to do that?
snarebold
If Page.IsValid then ... else...end if
JonH
you are right, its auto visible, if it goes to else, thank you really!
snarebold