Is there a way to have the custom validator take the input from two controls, say for example two check boxes and make sure that only one is checked?
Or am I going about this all wrong, and more importantly if I am could you point me in the right direction?
Even if this is the wrong direction actually I would like to know how to do this in case I run into a situation where it is applicable, that is if it’s possible.
Thanks for you help in advance.
The AJAX Control Toolkit has an exclusive checkbox list. I agree with the need for it, as radio buttons cannot be de-selected like checkboxes can.
If you’re looking to roll a custom validator, it sounds like you either do it server side, at which point you can do whatever logic you want in the code behind. Conversely, you can roll your own javascript to enforce it.