Hello,
I have cretaed a rad grid view and populate the values to grid dynamically. And i need to place a check bok column inside the grid.
I used Headertemplate and ItemTemplate to place the check box column. Also i have set the proprty for "Allow Filtering" to true. On executing the application am getting the filteration for check box column too. I dont want this filtering in check box column alone. Please can you help me in this.
I have attached my aspx grid code with is mail.
<telerik:RadGrid ID="radSimpleGrid" runat="server" AllowPaging="True" AllowSorting="True"
GridLines="Both" AutoGenerateColumns="False" AllowFilteringByColumn="true" Skin="Office2007">
<FooterStyle BackColor="#CCCCCC" />
<MasterTableView TableLayout="Fixed" PageSize="10">
<NoRecordsTemplate>
No records found
</NoRecordsTemplate>
<Columns>
<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn">
<HeaderTemplate>
<asp:CheckBox id="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="True" runat="server"></asp:CheckBox>
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox id="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages"></PagerStyle>
<HeaderStyle HorizontalAlign="Center" />
<ClientSettings ClientEvents-OnRowContextMenu="RowContextMenu" EnableRowHoverStyle="true">
<ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents>
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>
![]()
![]()
I have cretaed a rad grid view and populate the values to grid dynamically. And i need to place a check bok column inside the grid.
I used Headertemplate and ItemTemplate to place the check box column. Also i have set the proprty for "Allow Filtering" to true. On executing the application am getting the filteration for check box column too. I dont want this filtering in check box column alone. Please can you help me in this.
I have attached my aspx grid code with is mail.
<telerik:RadGrid ID="radSimpleGrid" runat="server" AllowPaging="True" AllowSorting="True"
GridLines="Both" AutoGenerateColumns="False" AllowFilteringByColumn="true" Skin="Office2007">
<FooterStyle BackColor="#CCCCCC" />
<MasterTableView TableLayout="Fixed" PageSize="10">
<NoRecordsTemplate>
No records found
</NoRecordsTemplate>
<Columns>
<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn">
<HeaderTemplate>
<asp:CheckBox id="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="True" runat="server"></asp:CheckBox>
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox id="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages"></PagerStyle>
<HeaderStyle HorizontalAlign="Center" />
<ClientSettings ClientEvents-OnRowContextMenu="RowContextMenu" EnableRowHoverStyle="true">
<ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents>
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>