I don't have a good enough understanding of the new client side API to figure out how to migrate my Javascript for the ASP.Net grid to the new AJAXK version.
I have a template column:
Bill
I have a template column:
<
telerik:GridTemplateColumn ShowSortIcon="False" UniqueName="Selector">
<ItemTemplate>
<asp:CheckBox ID="INPUT" runat="server" />
</ItemTemplate>
<HeaderTemplate>
<input id="SelectAllCheckBox" type="checkbox" onclick="CheckBoxChanged()" />
</HeaderTemplate>
</telerik:GridTemplateColumn>
function
CheckAll()
{
var checkboxes = grid.MasterTableView.Control.getElementsByTagName("INPUT");
for (var index = 0; index < checkboxes.length; index++)
{
if( ! checkboxes[index].checked )
{
checkboxes[index].checked = true;
}
}
}
Bill