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

What are the various ways to send content from one page to another?

882


What are merge modules?

956


What is difference between viewstate and session in asp net?

995


Is post back property in asp net?

981


How does session work?

864


What is the difference between the asp and asp.net?

933


What are the steps involved to fill a dataset?

972


Is viewstate enabled by default?

916


What are client activated objects and server activated objects?

915


Is asp.net different from asp? If yes, explain how?

971


What is the difference between session object and application object?

1013


What is difference between web config and global asax?

826


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

2422


How does asp.net page work?

902


Explain the concept of View Model in MVC?

972