2
Answers

Checkbox to all the header columns in radgrid

I am trying to add checkbox to all the header columns and get the checked value on Button Click,
how to do when the AutoGenerateColumns="True".  Pls suggest programmatically or Clientside.
 
Note: CheckBoxChecked event is not required since I've to do the functionality at the button click on checked/unchecked checkboxes.
 
 
  1. <telerik:RadGrid ID="Gridview" runat="server" AllowMultiRowEdit="true" AllowSorting="True" AutoGenerateColumns="true" Skin="<%$ appSettings:Skin %>" EnableEmbeddedSkins="False" Width="95%" CellSpacing="0" GridLines="None" CssClass="liquidItem" AllowPaging="True" PagerStyle-AlwaysVisible="true" PageSize="25" >  
Answers (2)
1
Jayatirth Kulkarni

Jayatirth Kulkarni

NA 5 180 7y
Hi Manav,
Thank you for the reply, I had gone through this post before but it doesn't solve my problem, I've to generate the Checkboxes programmatically in "Columncreated" event to place in the header fields. Need to apply checkboxes to all the Columns in the header. Like in the following image.
 
1
Manav Pandya

Manav Pandya

NA 7.1k 24k 7y
Hello
 
Please find below article 
 
https://www.telerik.com/forums/radgrid-checkbox-in-the-header
 
Thanks