Validation of textbox on "checkbox.checked==true" and radio buttons selection
Posted on 2006-05-14
Hello all, I'm new to Asp.Net and doing form validations. I got few problems in validation and would be thankful if someone replies:
1) I am using AutoPostBack=true and then call my if conditions from CheckedChanged funtion ,for checkboxes and radio buttons selection events to get fired. Is there any other way to make selection without invoking AutoPostBack because it refreshes the form and if there is a password, it removes.
2) On checkbox.checked==true, i do enable one textbox so i want to validate that textbox as well if checkbox is checked (textbox shouldn't be empty if checkbox.checked==true). and same with radio buttons.
Thanks in advance