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

Explain some of the major built-in objects in asp.net

1043


What are the different validators in asp.net?

1007


How will you do Redo and Undo in a TextControl?

1188


Where is asp.net view state stored?

1005


Please brief not about xsd,xslt & xml?

950


What is http session state?

981


What is form method?

934


What is connection pooling and how to enable and disable connection pooling?

1023


Is it possible to write code in many languages in one asp.net project?

1032


Which method is used to enforce garbage collection in .net?

874


Explain what the contents of cookie?

1062


Explain the difference between sql invalidation and sql notification.

978


How you can access the properties and controls of master pages from content pages?

956


Why is string called immutable data type?

1041


Explain how can we inherit a static member?

985