ASP.NET Checkbox Validation using jQuery

ASP.NET validation control provides validation on almost all controls out of the box except checkbox or checkboxlist controls. Even when you try to define control to validate property of validation control to a checkboxlist, you will end up getting an error which read as "Control 'CheckBoxList1' referenced by the ControlToValidate property of 'CustomValidator1' cannot be validated". But checkboxes are vital part of a form so we need to have some way to validate it. Thanks to ASP.NET's extensibility, there is one control that provides you full control as how you would like to put together validation rules to validate your form controls.

So today we will use power of jQuery and blend it with custom validation control to perform checkbox validation.

[More]

Display Selected ASP.NET Checkbox Label using jQuery

ASP.NET Checkbox server control's text get render as label, using jQuery we can find our labels for only those Checkboxes that are selected. You can use it for many different purposes and one of that we will look at in future article. [More]

Tags: , , , , , ,

ASP.NET | jQuery

Select/Deselect ASP.NET CheckboxList using jQuery

Providing multiple checkboxes on page is very common when collecting information/interest from user. Having one additional checkbox to select all checkboxes is a very interesting and compelling functionality and is very easy to achieve with jQuery. [More]

Tags: , , , , , , , ,

ASP.NET | jQuery