i have a radgrid ,inside the the grid i am adding a commanditem template .Inside that commanditemtemplate i am adding three labels above the header .But when i am exporting the grid to pdf ,csv and excel the commanditemtemplate is appearing in exported excel file only ,but not in pdf and csv.Below is the code i am using:
<telerik:RadGrid ID="ModifiedContentsReportGrid" runat="server" AutoGenerateColumns="false"
AllowSorting="true" AllowPaging="true" EnableOutsideScripts="true" PagerStyle-Mode="NextPrevAndNumeric"
ShowFooter="true" OnItemCreated="ModifiedContentsReportsGrid_OnItemCreated" Title="Modified Content Report">
<ExportSettings OpenInNewWindow="true" FileName="Modified Content Report" ExportOnlyData="false">
<Pdf PaperSize="A4" AllowPrinting="true" PageBottomMargin="10px" PageTopMargin="25px"
PageHeaderMargin="0px" PageLeftMargin="10px" PageRightMargin="10px" PageTitle="Modified Content Report" />
</ExportSettings>
<HeaderStyle HorizontalAlign="Center" />
<ClientSettings>
<Scrolling UseStaticHeaders="true" />
</ClientSettings>
<MasterTableView Width="100%" CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right" >
<CommandItemTemplate>
<table width="100%">
<tr align="right">
<td>
<asp:Label ID="lblClientName" runat="server" Text="" />
</td>
</tr>
<tr align="right">
<td>
<asp:Label ID="lblGenerateDate" runat="server" Text="" />
</td>
</tr>
<tr align="right">
<td>
<asp:Label ID="lblDateRange" runat="server" Text="" />
</td>
</tr>
</table>
</CommandItemTemplate>
Could anyone provide some solution to this problem??
<telerik:RadGrid ID="ModifiedContentsReportGrid" runat="server" AutoGenerateColumns="false"
AllowSorting="true" AllowPaging="true" EnableOutsideScripts="true" PagerStyle-Mode="NextPrevAndNumeric"
ShowFooter="true" OnItemCreated="ModifiedContentsReportsGrid_OnItemCreated" Title="Modified Content Report">
<ExportSettings OpenInNewWindow="true" FileName="Modified Content Report" ExportOnlyData="false">
<Pdf PaperSize="A4" AllowPrinting="true" PageBottomMargin="10px" PageTopMargin="25px"
PageHeaderMargin="0px" PageLeftMargin="10px" PageRightMargin="10px" PageTitle="Modified Content Report" />
</ExportSettings>
<HeaderStyle HorizontalAlign="Center" />
<ClientSettings>
<Scrolling UseStaticHeaders="true" />
</ClientSettings>
<MasterTableView Width="100%" CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right" >
<CommandItemTemplate>
<table width="100%">
<tr align="right">
<td>
<asp:Label ID="lblClientName" runat="server" Text="" />
</td>
</tr>
<tr align="right">
<td>
<asp:Label ID="lblGenerateDate" runat="server" Text="" />
</td>
</tr>
<tr align="right">
<td>
<asp:Label ID="lblDateRange" runat="server" Text="" />
</td>
</tr>
</table>
</CommandItemTemplate>
Could anyone provide some solution to this problem??