<script type="text/javascript"> function SelectAllCheckboxes(chk) { debugger; $("[id*=chkSelectAll]").live("click", function () { var chkHeader = $(this); $("#<%=gvUnPaidInvoiceDetail.ClientID%> tr").each(function () { var grid = $(this).closest("table"); $("[id*=chkSelect]", grid).each(function () { if (chkHeader.is(":checked")) { $(this).attr("checked", "checked"); } else { $(this).removeAttr("checked"); } }); }); }); } </script>
Check Uncheck all CheckBoxes in ASP.Net GridView
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)