I am having four text boxes in my web application. I am
setting Required Field validator to each Text box. And I am
having two buttons in my application. If i clicked the
first button only first two text box validation will get
fire. Dont show error message for remaining two text box.
If i clicked second button last two text box validation
will get fired. It will not consider the first two
validation controls. That is how to enable and disable the
validation controls.
Answer Posted / nikki
Hi.......its very simple first of all take two validation
summary and first 2 textbox and 1 button and 1 summary give
the same validation group name and do same for other two
textboxes and i think u will get the solution...
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is use of <% %> in asp.net?
Explain page output caching?
What is a SESSION and APPLICATION object?
What is server components?
What is the compiled object?
What is the difference between system.stringbuilder and system.string
Explain the difference between asp & asp.net.
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
What is the difference between Classic ASP and ASP.Net?
Define viewstate in .net?
How does session state work in asp.net?
Which protocol is used to call web service?
How do you open a page in a new window?
How can we apply themes to an asp.net application?
What is bound controls