or
Hi Team,
I am using telerik[Version=2008.2.1001.35] radGrid with selectcolumn checkbox functionality. But when I checked header checkbox for selecting all rows it throws js error . The screenshot of the js error is attached in the file "jserror.jpg".Previously I was using telerik [version 2009.2.826.20] & it was working fine.I debug the code and it got stuck to a line the screenshot of which i have attached in the file "debug.jpg". Kindly refer these two files in the attachment.
Thanks and Regards
Ganesh
<MasterTableView DataKeyNames="Id" DataSourceID="ClientDataSource" EditMode="PopUp" CommandItemDisplay="Top" HeaderStyle-CssClass="grid_header"> <CommandItemTemplate> <table width="100%"> <colgroup> <col width="35px" /> <col /> <col /> <col /> </colgroup> <tr> <td colspan="2" style="font-size: 13px; padding: 10px 10px; text-align: left; white-space: nowrap; font-weight: bold"> <asp:Label runat="server" ID="lbl_reportName" Text="none">Client List</asp:Label> </td> <td class="flow_no_print"> <telerik:RadButton ID="btnAddNewClient" runat="server" ButtonType="LinkButton" BorderStyle="None" AutoPostBack="true" CommandName="InitInsert" Text="Add Client"> <Icon PrimaryIconCssClass="rbAdd" PrimaryIconLeft="4" PrimaryIconTop="4" /> </telerik:RadButton> </td> <td class="flow_no_print" style="width: 160px; text-align: right;"> <asp:ImageButton Height="32" ID="ExportToPdfButton" CommandName="ExportToPdf" ImageUrl="~/images/icons/pdf.png" runat="server" ToolTip="Export to PDF" AlternateText="Export to PDF" /> <asp:ImageButton Height="32" ID="ExportToExcelButton" CommandName="ExportToExcel" ImageUrl="~/images/icons/excel.png" runat="server" ToolTip="Export to Excel" AlternateText="Export to Excel" /> <asp:ImageButton Height="32" ID="ExportToWordButton" CommandName="ExportToWord" ImageUrl="~/images/icons/word.png" runat="server" ToolTip="Export to Word" AlternateText="Export to Word" /> </td> </tr> <tr> <td style="width: 35px;"></td> <td></td> <td></td> <td></td> </tr> </table> </CommandItemTemplate> <Columns> <telerik:GridEditCommandColumn UniqueName="EditColumn" ButtonType="ImageButton"> <ItemStyle Width="20" /> </telerik:GridEditCommandColumn> <telerik:GridBoundColumn DataField="Id" DataType="System.Int32" HeaderText="ID" SortExpression="Id" UniqueName="Id" Visible="true" ReadOnly="true"> <ItemStyle Width="35px" /> <HeaderStyle width="35px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Name" HeaderText="Name" MaxLength="45" SortExpression="Name" UniqueName="Name"> <ItemStyle Width="260px" /> <HeaderStyle width="260px" /> </telerik:GridBoundColumn> <telerik:GridTemplateColumn HeaderText="Active" SortExpression="Active" UniqueName="ActiveMark" ReadOnly="true"> <ItemTemplate> <%# ShowActiveInd(DataBinder.Eval(Container.DataItem, "Active"))%> </ItemTemplate> <ItemStyle Width="20px" HorizontalAlign="Left" /> <HeaderStyle width="200px" /> </telerik:GridTemplateColumn> <telerik:GridCheckBoxColumn DataField="Active" DataType="System.Boolean" HeaderText="Active" SortExpression="Active" UniqueName="Active" ReadOnly="false" Display="false" DefaultInsertValue="true" > </telerik:GridCheckBoxColumn> <telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="ActiveColumn" HeaderText="Active" Display="false"> <ItemStyle HorizontalAlign="Left" /> </telerik:GridButtonColumn> </Columns>