$("#ckAll").click(function () {
$("input[name=ckProducts]").prop("checked", $(this)[0].checked);
});
$("#ckAll").click(function () {
$("input[name=ckProducts]").prop("checked", $(this)[0].checked);
});