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

How can you implement encapsulation in asp.net?

12146


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

2024


What is http post action?

784


How does a web application session work?

830


What is the extension of master page in asp.net?

781


What do you understand from custom control?

840


Explain http handlers? Where we can use the http handlers?

984


What are server objects?

737


What are main return types supported in Web API?

1037


How many types of controls are there in asp.net?

786


Which property is used to identify the Page is Post Back in ASP.NET?

795


What is Web Server Control Templates.?

825


Name the two properties are on every validation control?

772


What is the maximum number of classes that can be contained in one dll file?

982


Give me one example of Web API Routing?

839