Private void OlapGrid_ExportExcel(object sender, ExportExcelEventArgs e)Į.PageSetup.CenterHeader = "Center Header" Į.PageSetup.CenterFooter = "Center Footer" Į.PageSetup.RightFooter = "Right Footer" Į.PageSetup.RightHeader = "Right Header" Public void OlapGrid_ExportPDF(object sender, ExportPDFEventArgs e)Į.PDFExportSettings.PDFHeaderText = "Header" Į.PDFExportSettings.PDFFooterText = "Footer" Į.PDFExportSettings.PDFHeaderDescription = "" Į.PDFExportSettings.ShowPDFFooter = true Į.PDFExportSettings.ShowPDFHeader = true Protected void Page_Load(object sender, EventArgs e) Likewise, the properties, LeftHeader, LeftFooter, RightHeader, and RightFooter allow the user to set the header and footer in the left or right side of a page. The properties, CenterHeader and CenterFooter allow you to set the header and footer in the middle of a page. In the ExportExcel event, properties are written under the PageSetup class. In addition to this, PDFHeaderDescription property helps you to set the description of the header. The header and footer text can be set by using the PDFHeaderText and PDFFooterText properties, respectively.
To display header and footer in the exported document, the properties ShowPDFHeader and ShowPDFFooter should be set to true. In the ExportPDF event, properties are written under the PDFExportSettings class. You can set the header and footer in PDF, Excel, and Word exported documents by using the following events:
HOW TO CHANGE WORD DEFAULT SETTINGS FOOTNOTE HOW TO
This KB illustrates that how to set header and footer in the PDF/Excel/Word exported page.