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
Diff between web user control and web custom control?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What is the function of new view engine in asp.net? : asp.net mvc
What are session cookies?
What are the different methods of session maintenance in asp.net?
Give an example of cookie abuse.
Explain the concept of event bubbling in ASP.NET?
Explain the different parts that constitute ASP.NET application?
How can you enable impersonation in the web.config file?
Which dll handles the request of .aspx page?
Which browsers support the xmlhttprequest object?
What is cache in asp net?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
What is distributed system in asp.net?
Why we use asp.net for website development?