<telerik:RadGrid
ID="RadGridReport"
runat="server"
CssClass="GridLines"
ExportSettings-FileName="RadGridReportReport"
AutoGenerateColumns="false"
AllowPaging="false"
AllowSorting="true"
AllowFilteringByColumn="false"
AllowMultiRowSelection="false"
Enabled="true"
Visible="false"
OnGridExporting="RadGridReport_GridExporting"
OnExcelExportCellFormatting="RadGridReport_ExcelExportCellFormatting">
<ExportSettings OpenInNewWindow="true" />
<MasterTableView AllowMultiColumnSorting="true" AllowNaturalSort="false">
<HeaderStyle HorizontalAlign="Center" Font-Bold="true" />
<ItemStyle HorizontalAlign="Left" />
<AlternatingItemStyle HorizontalAlign="Left" />
<Columns>
<telerik:GridTemplateColumn UniqueName="Code" HeaderStyle-Width="15%">
<HeaderStyle CssClass="rgHeader hasNestedTable" />
<HeaderTemplate>
<table class="nestedHeaderTable" cellspacing="0" >
<tr style="height:35%;">
<th id="StateCode" colspan="2" align="center"><b>State Code</b></th>
</tr>
<tr style="height:65%;">
<th id="Code" width="20%" align="center">
<asp:LinkButton ID="btnCode" Font-Underline ="true" ForeColor ="Blue" Text="Code <span class = 'hidden'> Select to sort by Code</span>" ToolTip="Sort by Code" CommandName='Sort' CommandArgument='Code' runat="server" /></th>
<th id="Type" width="80%" align="center">
<asp:LinkButton ID="btnType" Font-Underline ="true" ForeColor ="Blue" Text="Type <span class = 'hidden'> Select to sort by Type</span>" ToolTip="Sort by Type" CommandName='Sort' CommandArgument='Type' runat="server" /></th>
</tr>
</table>
</HeaderTemplate>
<ItemStyle CssClass="hasNestedTable" />
<ItemTemplate>
<table class="nestedItemTable" cellspacing="0" >
<tr>
<td headers ="Code" width="20%" align="left" style="mso-number-format:\@;"><%# DataBinder.Eval(Container.DataItem, "Code")%></td>
<td headers ="Type" width="80%" align="left"><%# DataBinder.Eval(Container.DataItem, "Type")%></td>
</tr>
</table>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>