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 tooltip is set through code-behind in ASP.NET?

569


How to use push notification?

595


What are the differences between the response.write() and response.output.write()?

527


What is sta?

548


What language does asp.net use?

552






How does output caching work in ASP.NET?

495


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

530


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

596


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

504


What is an assembly? Explain its parts.

623


How to comment out asp.net tags?

627


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

515


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

622


What is asp.net globalization?

491


What is global.asax file used for?

553