Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / navin chandra pandit

To solve above prob., u can use validationGroup property of
ctrl. Those validation ctrls. that want to validat with a
btn ctrl., place in one group while the other place in 2nd
group simply.

Hope u got the point now.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to turn off cookies for a page?

986


Why cyclomatic complexity is important?

1024


How does http session work?

999


Name the tools or API for developing or testing web api?

945


How can you handle unmanaged code exceptions in asp.net?

1087


What is custom attribute? How to create?

1070


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

999


What is the advantage of mvc over asp.net? : Asp.Net MVC

973


Explain why datareader is useful?

987


How is the asp.net mvc architecture different from others? : asp.net mvc

1010


What is the default authentication mode for asp.net?

1110


What is caching? What are different ways of caching in asp.net?

1296


What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

950


What is view state management in asp net?

901


What is comparevalidator?

964