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
Where would you use an ihttpmodule, and what are the limitations if any?
How do I open an ashx file?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
How to you can limit Access to Web API to Specific HTTP Verb?
How many validators do ASP.NET have?
What is difference cookie and session?
Will session work if cookies is disabled?
Explain Authentication mechanism in dotnet
What is asp.net localization?
Write some code using interfaces, virtual methods, and an abstract class`
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
Explain how do you deploy your asp.net application?
What is Dynamic Web and discuss its usage with the help of real life examples?
What does the orientation property do in a menu control?
What are client activated objects?