I am developing Telerik Reporting and Inside a RadGrid I have checkboxes next to the dispalyed columns. What I want is, when the report load for the first time, the first 5 checkboxes should be checked automatically. User can uncheck or select up to 8 items and on preview button click see only the items checked.
All the radgrid columns am being populated with AutoGenerateColumns="True" from stored procedure.
I have added this code and can see the checkboxes. How do I default the first 5 items as checked
<MasterTableView AllowMultiColumnSorting="true" NoMasterRecordsText="There are no data records to display.">
<Columns>
<telerik:GridTemplateColumn HeaderText="">
<ItemTemplate>
<asp:CheckBox ID="CheckBoxStatus" runat="server" AutoPostBack="true" />
</ItemTemplate>
All the radgrid columns am being populated with AutoGenerateColumns="True" from stored procedure.
I have added this code and can see the checkboxes. How do I default the first 5 items as checked
<MasterTableView AllowMultiColumnSorting="true" NoMasterRecordsText="There are no data records to display.">
<Columns>
<telerik:GridTemplateColumn HeaderText="">
<ItemTemplate>
<asp:CheckBox ID="CheckBoxStatus" runat="server" AutoPostBack="true" />
</ItemTemplate>