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 / smriti
Hi,
We can add the code in page_load
If Me.RadioButton1.Checked = True Then
Button1.CausesValidation = True
Else
If Me.RadioButton2.Checked = True Then
Me.Button1.CausesValidation = False
End If
End If
| Is This Answer Correct ? | 37 Yes | 15 No |
Post New Answer View All Answers
List the types of authentication supported by asp.net?
How Session outproc in Sqlserver stored?
What is a server cookie?
How does http session work?
Define a multilingual website?
What is content page in asp net?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
What is the used of "ispostback" property?
Is redux flux?
How does session work?
What are the types of validation in asp net?
Explain the difference between or and orelse?
What is cookies in asp net?
How can we register exception filter from the action?
What does it mean your session has timed out?