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
How you can manage the state of application at the server side in ASP.NET?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
What is the concept of view state in asp.net?
What is httpresponse?
How to implement role based security in asp.net mvc? : Asp.Net MVC
What is postback in asp net?
What is cookies in asp net?
Is it possible to create web application with both webforms and mvc?
Which platform does Microsoft .NET use for exchanging data between applications?
What is round trip in asp.net?
What are the cookies types in asp.net?
What is the difference between session and viewstate?
How does cookies work in asp net?
What is connection pooling and how to enable and disable connection pooling?
Which object encapsulates state or data of a user?