Skip to Content
0
Sep 06, 2008 at 03:59 PM

How to check all and uncheck all checkboxes ?

119 Views

Hi,

I am having more than 30 check boxes, when a check box is clicked, its corresponding subcheck boxes should be checked and the same for unchecked also.

I dont want the solution like, when the main check box is clicked capturing the event in do handle event and assiging 'X' to all its sub components. Is their any other logic, to do this without hardcoding these things?

Thnx