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
Distinguish between Server-side and Client-side code?
What is mvc in angular?
How to you can limit Access to Web API to Specific HTTP Verb?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
Who is using asp.net?
How asynchronous call can be implemented using delegates?
What is data cache in sql server?
Explain the concept of MVC Scaffolding?
What do you mean by View State and what is its role?
Is asp.net web forms dead?
What is boxing and unboxing in asp.net?
What are custom user controls in asp.net?
Demonstrate Render and PreRender?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is a session in asp.net?