-
I generally create a TextField control that contains:
* Label
* Textbox
* Validator(s)
and then just use properties to control how/if they are displayed.
so in your case, you could have 10 TextField controls that look like this:
by subdigital on 5/6/2008 8:27:41 AM
-
-
I also think that a multi required field validator control would be a good idea. Simply, insert the textbox id and the message to be displayed and the control will take care of the rest.
by azamsharp on 5/6/2008 10:50:48 AM
-
-
I would usually name my textboxes sequentially such as "txtRequired1, txtRequired2" then do a loop. This is when I use a custom validator. Just my 2 cents but it's good to know the other methods out there as far as validation.
by the_menace on 9/22/2008 4:42:06 PM
-
Please log in to refactor the code!
Login