Reputation: 2366
I have radgrid with a template column with a check box in the header and check box in the itemtemplate. In javascript I need to uncheck the check box in the header. No way of accessing it seems to work.
I've tried:
masterTableHeader.HeaderRow.cells[0].firstElementChild.checked = false;
$("#checkbox").checked = false;
and a bunch of other ways.
Any ideas?
Upvotes: 0
Views: 1263
Reputation: 2366
var chkBox= $('input[id$="checkbox"]');
chkBox[0].checked = false;
works!
Upvotes: 0