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 / prakash
Required Field Validator does not depend upon any server
control either it is enable or disable.Means if radio
button1 is enable and radiobutton2 is disable at same time
then u press button then by default validation control
fired also in vice-versa case
| Is This Answer Correct ? | 11 Yes | 12 No |
Post New Answer View All Answers
What is the difference between client-side and server-side validations in webpages?
What is the web.config file in asp?
How does session authentication work?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
What is sdlc process?
How does cookies work in asp net?
What is & in a url?
What is the concept of view state in asp.net?
Which .NET framework supports Web API?
What is autopostback in dropdownlist in asp net?
Why do I get error message "could not load type" whenever I browse to my asp.net web site?
What is the concept of postback in asp.net?
What types of data validation events are commonly seen in the client-side form validation?
Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
What is the difference between union and structure?