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 difference between mechine.config and web.config?
Can I stream live content/events?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
Define session in asp.net.
What is asp.net ajax?
Is asp.net and .net same?
What is the difference between page.registerclientscriptblock and page.registerstartupscript?
Is it true that a Web service must be written in .NET or not?
what is a .xap file? Explain with an example.
How does a content page differ from a master page?
Does google crawl redirects?
What is app_code folder in asp net?
What is a reflection?
Explain the different parts that constitute ASP.NET application?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?