ASP.NET CheckBox Validation Control for .NET v2.0 & .NET v3.5. #CheckBox Library #Validation Control #ASP.NET Control #CheckBox #Validator #Validate
Sadly Microsoft has never included a validation control the CheckBox control. Yet, why would they? A checkbox is to select an option and in a sense it is always optional. I see no fault in this logic.
However, there is a comment element found in web applications which require you to check a box to indicate that you agree to certain terms and services. I am sure over 80% of web developers have had to do this at some point in time and if you haven't, you will eventually.
Yet again Microsoft is not at fault even though it is a commonly used method. Why? Easy, it is a design choice and there are many other options for achieving this.
Even still, it is a design choice that many might not have full say over or do not have a compelling enough reason to sway others away from this choice. So we are forced to spend too much time coming up with or finding a solution. Luckily you will find many. However none that I have come across offer a solution you can actually throw in your toolbox with the rest of the validators.
That is where this control steps in to fill that void while at the same time allowing you to make any modifications to it by providing the source code. Hopefully this will have saved many developers time wasted on something so trivial.
It would be nice if a control such as this came with Visual Studio out of the box. However until it happens if it does at all you can now use this validator which works just like the rest of them.
NOTE: You must make sure to include a folder for references and controls such as "lib" in your project so others will also have this control available to them.
In an empty area of the Toolbox right click it and choose "Add Tab" and give the tab any title you feel is fitting. "Custom Controls" would be a good idea. Then right click under the tab and click "Choose Items..." and click browse. Then go to the lib folder you added to your project and select CheckBoxValidator.dll.
You'll notice there are 2 versions. The one for .NET v2.0 must include the .config file in order for it to only rely on .NET v2.0.
System requirements
CheckBox Validator 1.0.1
add to watchlist add to download basket send us an update REPORT- runs on:
- Windows All
- file size:
- 7 KB
- filename:
- CheckboxValidator.zip
- main category:
- Programming
- developer:
- visit homepage
Windows Sandbox Launcher
Zoom Client
Context Menu Manager
Bitdefender Antivirus Free
4k Video Downloader
IrfanView
calibre
7-Zip
ShareX
Microsoft Teams
- 7-Zip
- ShareX
- Microsoft Teams
- Windows Sandbox Launcher
- Zoom Client
- Context Menu Manager
- Bitdefender Antivirus Free
- 4k Video Downloader
- IrfanView
- calibre