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


Please Help Members By Posting Answers For Below Questions

Distinguish between Server-side and Client-side code?

566


What is mvc in angular?

573


How to you can limit Access to Web API to Specific HTTP Verb?

680


Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net

1515


Who is using asp.net?

521






How asynchronous call can be implemented using delegates?

553


What is data cache in sql server?

602


Explain the concept of MVC Scaffolding?

603


What do you mean by View State and what is its role?

550


Is asp.net web forms dead?

523


What is boxing and unboxing in asp.net?

677


What are custom user controls in asp.net?

533


Demonstrate Render and PreRender?

615


Can we make activex dll also ti execute in some process as that of client ? How can we do?

4260


What is a session in asp.net?

550