If a control is disabled (enabled = false), will the validator controls associated with it automatically know not to carry out validation?
i have a checkbox and a textbox, if the checkbox is checked, the textbox is enabled, and has to have a value, where i used a required field validator.
but if the checkbox is not checked, textbox is then disabled, however, the validator controls still seem to be trying to validate the disabled textbox.
so is there a way to disable validator according to textbox's state? such as textbox.enable = true? seems like causevalidation method requires multiple button, however i only need one...
thanks in advance!
View Complete Post