~mkw

Average guy, above average luck...the blog of M. Keith Warren

Wouldn’t It be great…

The majority of the validation controls target a specific web control via the ControlToValidate attribute, in the case that I have a text box to that collects required date info I will need two controls, a CompareValidator and a RequiredFieldValidator. Each are dropped separately on the web form and must have independent messages and style (yada yada)

 

Wouldn’t it be great if web controls like TextBox had a validators collection where multiple validation rules can be set up in design time (or run time for that matter) without the need for the separate validation controls on the page.

 

Just a thought…

Comments

HumanCompiler said:

Yes, I've thought about that many times...that would be fan freakin' nominal!
# November 6, 2003 10:43 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)