Hi Team,
I am trying to export RadGrid data to PDF and using ExportToPdf method for the same.
But, ExportToPdf is not including the column headers in PDF Report when
- RadGrid's AutoGenerateColumns = "true"
- RadGrid is not having GridDataBoundColumn
Code Snippet:
NOTE: ExportToExcel works for the same with same properties.
Telerik: Telerik.Web.UI.dll , Vesion: 2011.1.413.40
I am trying to export RadGrid data to PDF and using ExportToPdf method for the same.
But, ExportToPdf is not including the column headers in PDF Report when
- RadGrid's AutoGenerateColumns = "true"
- RadGrid is not having GridDataBoundColumn
Code Snippet:
<telerik:RadGrid ID="radABCReportGrid" runat="server" Width="100%" AutoGenerateColumns="true" Skin="Default" Visible="true" BackColor="White"><ExportSettings ExportOnlyData="True" IgnorePaging="True" OpenInNewWindow="true"><Csv ColumnDelimiter="VerticalBar" RowDelimiter="Comma" EncloseDataWithQuotes="true" /><Pdf PageHeight="210mm" PageWidth="297mm" DefaultFontFamily="Arial Unicode MS" PageBottomMargin="10mm" PageTopMargin="10mm" PageLeftMargin="10mm" PageRightMargin="10mm"></Pdf></ExportSettings></telerik:RadGrid>NOTE: ExportToExcel works for the same with same properties.
Telerik: Telerik.Web.UI.dll , Vesion: 2011.1.413.40