Geeks With Blogs

News

View Uri Goldstein's profile on LinkedIn

Add to Google
urig Tidbits from a .net life

A while back I ranted about ASP.Net's CustomValidator behaving badly - When the control it is set to validate is empty, CustomValidator will (surprisingly) perform no validation.

Now I've learned that the good people at Microsoft have resolved this issue, but only in ASP.Net 2.0. The CustomValidator now has a new property called ValidateEmptyText. As the name implies, when this property is set to true empty controls will be validated by the CustomValidator.

Too bad this solution is only implemented in ASP.Net 2.0. What does Microsoft expect us to do in projects that are in ASP.Net 1.1? Upgrade??

Posted on Tuesday, September 19, 2006 1:27 PM Knowledge Base , Developer Tools | Back to top


Comments on this post: CustomValidator will validate empty controls - but only in ASP.Net 2.0.

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © urig | Powered by: GeeksWithBlogs.net