Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to check and uncheck the checkbox in repeater control using javascript in asp 2.0? here i m unable to check the checkbox in single click or uncheck the checkbox in single check.
Posted
Updated 12-Jan-12 17:48pm
v3
Comments
Prince Antony G 16-Jan-12 5:36am    
thanks for your support

You can do it using jQuery

Code sample here http://www.webdeveloperjuice.com/2010/03/15/check-all-uncheck-all-and-invert-checkboxes-using-jquery/

For those who want a 'javascript only' solution, here is the link from a CP article http://www.codeproject.com/KB/grid/GridCheckBox.aspx [^]
 
Share this answer
 
v2
Comments
NandaKumer 13-Jan-12 1:11am    
good one
Prince Antony G 13-Jan-12 6:07am    
i need to check/uncheck the checkbox in repeater control...
bbirajdar 13-Jan-12 8:24am    
Did you try this code?? It captures all checkboxes i.e <input type="checkbox" on the page; no matter whether they are in the repeater or anywhere else. If you are not able to understand any solution , then please ask for clarifications; don't just blindly downvote it..
Prince Antony G 16-Jan-12 5:37am    
thanks for your support
 
Share this answer
 
Comments
Prince Antony G 13-Jan-12 6:29am    
no need for gridview...
i need Repeater
bbirajdar 13-Jan-12 8:29am    
@Nandakumer . This guy has gone insane and downvoting the solution without understanding it. I vote you +5 to compensate
Prince Antony G 16-Jan-12 5:07am    
Because i have done the same option in gridview control , but i unable to do in repeater control.
Prince Antony G 16-Jan-12 5:37am    
thanks for your support
NandaKumer 16-Jan-12 12:33pm    
acha

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900