Use ValidateEmptyText property of the custom validators to validate even if the control to validate is empty
Posted on 11/4/2006 11:31:50 AM
in #ASP.NET 2.X
Hi/P>
In Asp.Net 1.X there was a problem in using the custom validators. The custom validators never fired if the control to validate was empty. So it was not very useful in all the places. In Asp.Net 2.0 this problem has been solved. /P>
The custom validators have a new property called ValidateEmptyText. If we set the value of this property to true then the custom validators will validate even if the control to validate was empty./P>
Hope this helps Thanks Vikram/P>
|
Posted on 7/26/2009 9:35:05 PM
|