Hi,
Here I'm providing some code for your requirement .
check this once
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script language="javascript" >
function f1(tid) {
if ($("#" + tid).val() == 'A') {
$('#dt1').find("input:checkbox").each(function () {
this.checked = true;
});
}
else {
$('#dt1').find("input:checkbox").each(function () {
this.checked = false;
});
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<asp:radiobuttonlist id="RadioButtonList1" runat="server" repeatdirection="Horizontal" xmlns:asp="#unknown">
<asp:listitem text="Select All" value="A" onclick="f1(this.id)"></asp:listitem>
<asp:listitem text="Delect All" value="D" onclick="f1(this.id)"></asp:listitem>
</asp:radiobuttonlist><br />
<table width="50%" align="center" id="dt1">
<tr> <td> <input type="checkbox" id="ch1" />
</td>
</tr>
<tr>
<td>
<input type="checkbox" />
</td>
</tr>
<tr>
<td>
<input type="checkbox" />
</td>
</tr>
<tr>
<td>
<input type="checkbox" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
All the Best