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 actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

961


Describe the application event handlers in ASP.NET?

1005


What are the memory-mapped files?

966


Why is it preferred to not use finalize for clean up?

956


How many languages are supported by .NET at present time?

738


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1989


What is application variable in asp.net?

888


What is the use of session state and application state and difference between them?

877


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

2435


Why the javascript validation not run on the asp.net button but run successfully on the html button?

916


What is a postback ispostback and autopostback in asp net?

860


Can you explain the importance of finalize method in .net?

997


what are configuration files?

993


Where can I get the details on migration of existing projects using various technologies to asp.net?

1023


What are the different types of proxy patterns?

1102