ASP.NET Validators should be visible to do validation

Validators are disabled, if they are not visible. They can be not visible, if any of their containers is not visible.
In general, they should be always visible, but the message will be shown only if they will be NOT valid.
Also consider to set BaseValidator.SetFocusOnError=true.
In big pages use ValidationGroup combined with CausesValidation property set to true.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Sunday, August 23, 2009 6:41 AM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910