Page History: CustomValidator and Radiobuttonlist
Compare Page Revisions
Page Revision: 2008/11/20 18:26
I had a lot of trouble getting my CustomValidator events to fire on a radiobuttonlist until I figured out that they needed to have ValidateEmptyText="true" in order to be invoked when nothing was selected.
Here's my complete CustomValidator:
Other things to check if it isn't firing:
- Does the ValidationGroup value match in all 3 places: the submit button, the validator control, and the control to validate?
- Does the submit button have CausesValidation=true