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 is the compiled object?
Define resource files.
How do I open an ashx file in windows 7?
Which protocol is used to call web service?
Do gac'ed assemblies have fulltrust?
How ViewstateMac works?
How do you design a website with multilingual support in ASP.NET ?
What is a postback in asp net?
What’s the catch?
What is asp.net version?
What is meant by asp.net?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
What is the difference between page-level caching and fragment caching?
Why we are using mvc instead of asp.net? : Asp.Net MVC
What are the Types of object in asp