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
What are the new web part controls in asp.net 2.0 ?
What is a session in asp.net?
Explain different types of Caching techniques in ASP.NET?
What is hidden field in asp.net?
How can you handle errors in Web API?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
Do cookies store passwords?
What do you mean by query string?
What are strong names?
What is autopostback in asp net?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is a url string?
Explain different authentication modes in asp.net?
What is advantage of asp.net?