In ASP.NET 2, I used Validator and RequiredField checks, but I'm not sure how to handle this case.
I have two checkboxes on the page, and I must be sure that at least one of them is checked. So, if you are looking in binary, it can be 01, 10 or 11, but it cannot be 00. My question is: what is the best way to do this using checkboxes?
Can normal ASP Validators handle this, or will I need to create an integer value as above, somewhere hidden and use RangeValidator to run a test to make sure that the THAT value is never null?
source
share