Note that there are some explanatory texts on larger screens.

plurals
  1. POCheck all CheckBoxes in Telerik nested Grid in C#
    primarykey
    data
    text
    <p>Below is my code for nested grid of telerik:</p> <pre><code> &lt;telerik:RadGrid runat="server" ID="OrdersGrid" ShowFooter="True" AllowSorting="True" EnableLinqExpressions="false" GridLines="None" OnInsertCommand="OrdersGrid_InsertCommand" OnItemCommand="OrdersGrid_ItemCommand" OnItemDataBound="OrdersGrid_ItemDataBound" Width="100%" HeaderStyle-CssClass="gridHeader" OnItemCreated="OrdersGrid_ItemCreated"&gt; &lt;ClientSettings&gt; &lt;Scrolling AllowScroll="True" UseStaticHeaders="True" /&gt; &lt;/ClientSettings&gt; &lt;MasterTableView ShowHeader="true" AutoGenerateColumns="False" PageSize="7" HierarchyLoadMode="Client" Font-Names="Verdana" Font-Size="12px" DataKeyNames="RIGHT_ID"&gt; &lt;NestedViewTemplate&gt; &lt;telerik:RadGrid ID="brnchgrid" runat="server" OnItemDataBound="brnchgrid_ItemDataBound" CssClass="gridHeader" Width="100%"&gt; &lt;MasterTableView DataSourceID="SqlDataSource1" AutoGenerateColumns="false" Font-Names="Verdana" Font-Size="12px"&gt; &lt;Columns&gt; &lt;telerik:GridBoundColumn HeaderText="Branch CODE" DataField="BRNCH_CODE" Visible="false"&gt; &lt;/telerik:GridBoundColumn&gt; &lt;telerik:GridBoundColumn HeaderText="Branch name" DataField="BRNCH_NAME" UniqueName="BRNCH_NAME"&gt; &lt;/telerik:GridBoundColumn&gt; &lt;telerik:GridTemplateColumn UniqueName="add" HeaderText="ADD" HeaderStyle-Width="50px"&gt; &lt;ItemTemplate&gt; &lt;asp:CheckBox ID="chkadd" runat="server" /&gt; &lt;/ItemTemplate&gt; &lt;HeaderStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="50px" /&gt; &lt;ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="50px" /&gt; &lt;/telerik:GridTemplateColumn&gt; </code></pre> <p>I want to give an option to check all in the header in nested grid inside <strong>brnchgrid</strong>. The checkbox column is named <strong>add</strong>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload