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.

posted @ Sunday, August 23, 2009 6:41 AM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345