I am using several pages with grids all with Word, CSV, Excel and PDF export
All export the column headers (i.e. field labels) except the PDF exportI
have tried a multitude of settings without result although I think this
used to work before we moved to using GridTemplateColumn
Currently these are the export settings in aspx
<ExportSettings ExportOnlyData="True" IgnorePaging="true" FileName="TimesheetList" OpenInNewWindow="true" HideStructureColumns="true" Pdf-DisableContentEncryption="true" Pdf-Title="Timesheet list" UseItemStyles="false" Word-Format="Html" Pdf-PaperSize="A4" Excel-Format="Html"> <Pdf PageHeight="297mm" PageWidth="420mm" PageTopMargin="20mm" PageRightMargin="10mm" PageLeftMargin="10mm" BorderStyle="Thin" BorderColor="#666666" PaperSize="A4" ForceTextWrap="True"> </Pdf></ExportSettings>And here is the code behind
case "exportpdf": isExport = true; RadGridTimesheets.MasterTableView.ExportToPdf(); Response.AppendCookie(CustomNavigationHelper.CreateExportCookie()); break;Any ideas what I am doing wrong?