I have One CheckBox above the CheckBoxList and its Text as “Show only Selected Items”.
My CheckBoxList has 10 items and three items as Selected.
But when I Check the CheckBox, I want to display only the selected three items in the CheckBoxList.
When I uncheck the CheckBox, I want to display all the 10 items and three items as selected.
How to do this?
in the checked event of checkbox of “Show only Selected Items”, do loop and check which is checked and if checkbox of checkboxlist is not selected then remove/visible false that item from checkboxlist.