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
Which adapter should you use, if you want to get the data from an access database?
What are the advantages and disadvantages of session?
Explain the use of dataadapter.
Explain the updatepanel?
How do you change the session time-out value?
What is s2s tracking?
What is asp.net localization?
Describe the difference between inline and code behind - which is best in?
What is data reader in asp.net?
How to retrieve user name in case of Window Authentication?
Describe the .net base class library.
What is work flow gen? how can it will work with .Net?
Name some asp objects?
Differentiate between client-side and server-side validations in web pages.
Is session server side or client side?