Hi,
I have telerik Rad Grid Control. I want disabled row to be checked even if someone check/uncheck select all functionality. So I have written below Jquery code to handle it.
$(document).ready(function () {
$("#SelectColumnSelectCheckBox").click(function () {
var checked = this.checked;
if (checked == false) {
$("#ctl00_MainContent_gridRules_ctl00 tbody tr").each(function () {
if ($(this).attr('disabled') == "disabled") {
$(this).find("input").attr('checked', 'checked');
}
});
}
});
});
I want to change the hardcoded value of grid (ctl00_MainContent_gridRules_ctl00) and Select all checkbox (SelectColumnSelectCheckBox) to clientID.
I have tried <%=Radgrid.ClientID%> but that does not work.
Does anyone know how to get the clientID of the telerik RAD grid?
Please give me reply sooner as this is urgent for me.
Thanks in advance.
Regards,
Devendra.
I have telerik Rad Grid Control. I want disabled row to be checked even if someone check/uncheck select all functionality. So I have written below Jquery code to handle it.
$(document).ready(function () {
$("#SelectColumnSelectCheckBox").click(function () {
var checked = this.checked;
if (checked == false) {
$("#ctl00_MainContent_gridRules_ctl00 tbody tr").each(function () {
if ($(this).attr('disabled') == "disabled") {
$(this).find("input").attr('checked', 'checked');
}
});
}
});
});
I want to change the hardcoded value of grid (ctl00_MainContent_gridRules_ctl00) and Select all checkbox (SelectColumnSelectCheckBox) to clientID.
I have tried <%=Radgrid.ClientID%> but that does not work.
Does anyone know how to get the clientID of the telerik RAD grid?
Please give me reply sooner as this is urgent for me.
Thanks in advance.
Regards,
Devendra.