You need to use Javascript. This is the same functionality like "check all"
call following javscript on setup checkbox click, it will select items of setup checkbox checked.
function CheckBoxListSelect()
{
var chkBoxList = document.getElementById("chkBoxList1");
var chkBoxCount= chkBoxList.getElementsByTagName("input");
for(var i=0;i<chkboxcount.length;i++)>
{
if (chkBoxCount[i].checked)
chkBoxCount[i].checked = false;
else
chkBoxCount[i].checked = true;
}
return false;
}