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 is the good practice to implement validations in aspx page?

1171


Can you change a Master Page dynamically at runtime?

1016


What is syntax code to send email from an asp.net application?

1063


What is the main function of url routing system in asp.net mvc? : asp.net mvc

1060


Explain the different types of directives in .net?

993


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

1161


What is http only cookie?

1189


Explain the difference between an exe and a dll?

1053


How to disable cut, copy and paste in TextBox using jQuery in asp.net?

1251


Is LINQ performance wise better or using sqlcommand?

5170


Explain culture and uiculture values.

1030


Explain the asp.net mvc folder conventions? : asp.net mvc

1042


Explain what are webservices?

1032


We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?

933


Differentiate between structure and class.

1070