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’s the difference between asp.net web forms and asp.net mvc?
How to improve performance of web application asp.net mvc? : Asp.Net MVC
How many types of triggers are there in update panel?
How do we ensure view state has not tampered?
What’s the use of “GLOBAL.ASAX” file?
What is data grid view in asp.net?
What is postback in asp net?
What is the file extension of web service?
What is redirecting behavior?
What is new asp.net core?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
how to include timer or counting time to display next page in asp.net
What is the difference between system.stringbuilder and system.string
What is the difference between viewstate and hidden field in asp.net?