0

i have an html table which has asp.net textbox controls , total 50 boxes , so these all needs "Field Required" validators but it would take alot of time to do so and also i dont want the validation error message to appear next to each box, i want them all at one place , somewhere below table,
so isn't there any alternative to do it quicky mean to save time ?

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by HunainHafeez
0

If you take a look at the validation controls in visual studio, there is a summary control that you can use to provide a summary display say at the bottom. However, as far as I know, you still need to implement validation for each one of them.

Now, outside of asp.net controls, I suspect that you can write your own validation via JavaScript and during the validation process, run through some sort of loop to validate your input elements.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.