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...

If we add a textbox and give the required field
validator,and i add two radio buttons 1 is yes another one
is No.And i add another one server control button ,if i
click the button ,if the radio button Yes is checked the
validation control is fired ,if no the validation control
is not fired.So what you used to solve this problem.

Answer Posted / vijay

Set causes validation on the button to false. Add a custom
javascript function to the onclick event of that button. In
the javascript function check whether the radio button is
checked or not then. If checked call ValidatorEnable
(regValidatorId, true) and then call Page_ClientValidate()
function.

Is This Answer Correct ?    9 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which adapter should you use, if you want to get the data from an access database?

933


What are the advantages and disadvantages of session?

1063


Explain the use of dataadapter.

1010


Explain the updatepanel?

950


How do you change the session time-out value?

986


What is s2s tracking?

929


What is asp.net localization?

935


Describe the difference between inline and code behind - which is best in?

998


What is data reader in asp.net?

1044


How to retrieve user name in case of Window Authentication?

677


Describe the .net base class library.

984


What is work flow gen? how can it will work with .Net?

2983


Name some asp objects?

958


Differentiate between client-side and server-side validations in web pages.

968


Is session server side or client side?

906