baseData["navigateUrl"]=_1c8;
Has anyone else had this error?
The result of the error is that my loading template never disappears.
Here is the definition of the menu:
<telerik:RadMenu runat="server" ID="rm" Skin="Default">
<WebServiceSettings Path="MenuService.asmx" Method="GetMainMenuItems" />
<LoadingStatusTemplate>
Loading...
</LoadingStatusTemplate>
</telerik:RadMenu>

| <telerik:RadComboBox runat="server" AutoPostBack="true" Skin="Hay" ID="rcbEnvironments"> |
| <ItemTemplate> |
| <asp:CheckBoxList runat="server" DataTextField="Name" DataValueField="Id" ID="cblEnvironments" /> |
| </ItemTemplate> |
| </telerik:RadComboBox> |

<EditFormSettings>
<PopUpSettings ScrollBars="None" />
<EditColumn UniqueName="EditCommandColumn1" ButtonType="PushButton"></EditColumn>
</EditFormSettings>
I hit the 'Add' button and all controls display correctly (input controls as well as the 'add' and 'cancel' images).
If I change the skin to WebBlue and hit 'Add', I don't get an image for the 'insert' button, only the 'cancel' button.
I've tested several other skins and most of them are acting the same way as WebBlue. I can get Inox and Black to work as I would expect them to.
What am I missing?
Sheryl
What am I missing?
<radG:GridTemplateColumn AllowFiltering="false" UniqueName="CheckBoxTemplateColumn">
<HeaderTemplate>
<input id="chkAllItems" type="checkbox" onclick="CheckAllDataGridCheckBoxes('chkItemChecked',document.forms[0].chkAllItems.checked)" />
</HeaderTemplate>
<HeaderStyle Width="15px" />
<ItemTemplate>
<input id="chkItems" type="checkbox" runat="server" onclick="SelectedRowCount();" />
</ItemTemplate>
<ItemStyle Width="15px" />
</radG:GridTemplateColumn>
Please help.
Thanks,
Soo
Hi Everyone,
How to loop through the bound checkboxes in the template column
I have checkboxes in the radgrid which are bound to a table. They have to be editable.
Later I need to loop through them to find out whether they are checked or not and then depending on that I have to update the database.
Please tell me how to go about this.
The code snippet is as follows:
<telerik:radgrid id="RadGrid1" runat="server" allowpaging="True" gridlines="None" autogeneratecolumns="False" skin="Default2006" showstatusbar="True" >
<clientsettings allowcolumnsreorder="True" reordercolumnsonclient="True">
</clientsettings>
<mastertableview datakeynames="MenuSysID" commanditemdisplay="Top">
<commanditemtemplate>
<div style="padding: 10px 0px;">
<asp:linkbutton runat="server" id="lnkEdit" commandname="Save">
<img style="border:0px;vertical-align:middle;" alt="" src="Img/icon_edit.gif" />
Save
</asp:linkbutton>
</commanditemtemplate>
<columns>
<telerik:gridtemplatecolumn datafield="MenuCaption" forceextractvalue="Always" headertext="Menu"
uniquename="MenuCaption">
<itemtemplate>
<asp:label id="MenuCaptionLabel" runat="server" text='<%# Eval("MenuCaption") %>'></asp:label>
</itemtemplate>
</telerik:gridtemplatecolumn>
<telerik:gridtemplatecolumn headertext="Input" uniquename="TemplateColumn1">
<itemtemplate>
<asp:checkbox id="CheckBox1" runat="server" checked='<%# Eval("Input") %>' />
</itemtemplate>
<edititemtemplate>
<asp:checkbox id="CheckBox1" runat="server" checked='<%# Eval("Input") %>' />
</edititemtemplate>
</telerik:gridtemplatecolumn>
<telerik:gridtemplatecolumn headertext="Approve" uniquename="TemplateColumn2">
<itemtemplate>
<asp:checkbox id="CheckBox2" runat="server" checked='<%# Eval("Approve") %>' />
</itemtemplate>
<edititemtemplate>
<asp:checkbox id="CheckBox2" runat="server" checked='<%# Eval("Approve") %>' />
</edititemtemplate>
</telerik:gridtemplatecolumn>
<telerik:gridtemplatecolumn headertext="Delete" uniquename="TemplateColumn3">
<itemtemplate>
<asp:checkbox id="CheckBox3" runat="server" checked='<%# Eval("Delete") %>' />
</itemtemplate>
<edititemtemplate>
<asp:checkbox id="CheckBox3" runat="server" checked='<%# Eval("Delete") %>' />
</edititemtemplate>
</telerik:gridtemplatecolumn>
<telerik:gridtemplatecolumn headertext="View" uniquename="TemplateColumn">
<itemtemplate>
<asp:checkbox id="CheckBox4" runat="server" checked='<%# Eval("View") %>' />
</itemtemplate>
<edititemtemplate>
<asp:checkbox id="CheckBox4" runat="server" checked='<%# Eval("View") %>' />
</edititemtemplate>
</telerik:gridtemplatecolumn>
</columns>
<expandcollapsecolumn resizable="False" visible="False">
<headerstyle width="20px" />
</expandcollapsecolumn>
<rowindicatorcolumn visible="False">
<headerstyle width="20px" />
</rowindicatorcolumn>
</mastertableview>
</telerik:radgrid>