Client side validate checkboxlist using custom validator in Asp .Net

 In this article we will see how to validate checkboxlist at client side to make sure that at least one item is checked. To do this we will use custom validator control and javascript. 

Java script

 

 

Checkboxlist:

 

                
                
                
                
                
                
                
                

 

Custom Validator


Button

 



Final Output
Validate-Checkboxlist-In-Asp-Net-CodingFusion

 
We are nothing without our users ! You can help us offer even more high quality content. Please share our page !
Best quality Asp .Net Ajax Control Toolkit tutorials.
Thanks Anuj this was awesome. Easy to understand easy to implement.
3-Oct-2013 From  Himanshu
Good Article Thanks
6-Feb-2014 From  Dom
You are welcome dear.
9-Feb-2014 From  Anuj
gr8 article.. it really helped me alot.... thanks
11-Feb-2014 From  Harshal
This works perfectly, but only AFTER the second submit. Is this a unique problem? I have the checkboxlist and validator in a custom control which is dynamically added to a page.
21-Feb-2014 From  Kerry Wano

Give your valuable comments.

Name
Email
Comment
7 + 5 =
 
About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2019 CodingFusion
75 Important SQL Server queries you should know