Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I have 2 checkbox list which Checkboxlist2 items are considered a subsidiary from Checkboxlist1. Both Checkboxlist1 & Checkboxlist2 list items are populated from a stored procedure in SQL server. However I did add a "Select All" list item for both checkbox to allow select all and it will disable all other list items when "Select All" is checked.
Posted
Updated 23-Sep-15 20:34pm
v5

1 solution

This is the same question as you posted yesterday slightly modified: How do I disable other checkboxlist if "select all" listitem is selected?[^] - and the answer is still the same...
 
Share this answer
 
Comments
Member 11878313 23-Sep-15 4:30am    
Hi there, but how do I do it ifs its based on the example scenario now? and I have tried putting in an external js file but it returns me error why?
Member 11878313 23-Sep-15 4:36am    
Previously its like if select all is chosen it will disable the rest. I need this but in addition I also need something like in the example scenario given. can you advise me pls?
Member 11878313 23-Sep-15 4:48am    
Its actually a different question from yesterday, more like a question to add on functions:)
Member 11878313 23-Sep-15 4:57am    
My error for external js file Unhandled exception at line 2, column 1803 in http://code.jquery.com/jquery-1.11.3.min.js

0x800a139e - JavaScript runtime error: JQMIGRATE: Invalid selector string (XSS)

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