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

Required validator checks for TextBox empty or not..

so to solve this problem

RequiredField validator--->properties..>validationGroup:sbmt
Button --->properties..>validationGroup:sbmt

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to retrieve user name in case of Window Authentication?

285


Define msil.

555


How to implement globalization and localization in the use interface in .net.

542


Explain exception handling in .net.

618


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

1958






What is runat?

619


Explain how viewstate is being formed?

546


Explain Life cycle of ASP.NET page when a request is made.

757


How to change Master page in ASP.Net using code?

600


What is difference between or and orelse?

554


What is asp.net response object?

566


Describe the method to create a permanent cookie?

584


Describe the application event handlers in ASP.NET?

554


What is the difference between pathparam and queryparam?

587


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

491