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 are the different types of sessions in asp.net?
What is the file through which you can customize your asp.net application?
What is runat?
how to write html code with ssl
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?
Explain different authentication modes in asp.net?
What is difference between view and partial view?
What is the difference between system.stringbuilder and system.string
Which .NET framework supports Web API?
What is hidden field in asp.net?
How you can return View from ASP.NET Web API method?
What are cookies in asp.net?
Explain the benefits of viewstate?
What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC
What are the main differences between asp and asp.net?