Hi!
You have to decide _what_ to validate on the CheckBox. I did this recently,
but there is no automagic way to validate a boolean. :) IE. it could be that
you wanted it not to be checked off. (Who does..)
What I did was to use a CustomValidator with a client side script checking
if the checkbox is checked. I think there is an example in the .net framework
documentation for CustomValidator. If you can't find it, give me a hint and
I'll provide the example here. (Got it on another computer ;) )
HTH,
Lars-Erik
"Lars Netzel" wrote:
Hi
How do I validate a CheckBox with a formvalidator from ASP.NET ? I can't
find anyway to do it and I need the look of this validation to look like the
rest of the textbox validators on the form (which are using
RequiredFieldValidators). Please help!
Best Regards
/Lars