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 / prakash

Required Field Validator does not depend upon any server
control either it is enable or disable.Means if radio
button1 is enable and radiobutton2 is disable at same time
then u press button then by default validation control
fired also in vice-versa case

Is This Answer Correct ?    11 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of asp.net?

546


What is the life-span of the items in the viewstate?

505


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

565


Define globalization and localization.

571


Is asp.net free?

561






Explain the Order of events in an asp.net page?

606


What is in a session cookie?

544


Explain automatic memory management in .net.

596


Explain the role of global.asax?

555


To get the values in two different controls to match which control you use it?

540


What is the difference between union and join?

569


What is asp.net with mvc? : Asp.Net MVC

523


What is the namespace to create thread in .net?

532


List some of the important session state modes of asp.net.

510


What is webresource axd?

469