I've seen zillions of postings on how to deal with the issue where you need to validate a Checkbox to ensure the user has checked it "true" or "on", or "checked". Useful for making them confirm they have read and/or agree to something.
It seems unfortunate that the base controls don't handle this, and many others agree with me...nonetheless...
I have tried to implement a hybrid of some of these solutions. Anyway, here's what I've put together, and I am not skilled enough to know why this does not work. It doesn't generate any errors, and when I look at the rendered HTML via "view page source", there is nothing obvious that I see...for example, all the controls appear to be there and seem to render the same as any of the static HTML controls that are also on the page.
Anyone able to enlighten me? Thanks in advance:
1. In a utility library, I create a class that inherits from the CheckBox class, so that I can dynamically create it in code. (I don't want to bother creating a UserControl for this because it seems like overkill to implement a single missing (my opinion) property. I lifed the equivalent of this code from other forum posts.
//extend the standar
View Complete Post