We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add Header and Footer to the document

Thread ID:





149810 Dec 10,2019 11:02 AM UTC Dec 11,2019 07:36 AM UTC ASP.NET Web Forms 1
Tags: DocIO
Asked On December 10, 2019 11:02 AM UTC


Is there any way in which i can add header and footer to all the pages in the document. I am using mail merge functionlaity too in my template. It seems like headers are not supported on pages that have mail merge feature. Can you suggest a way to overcome this? 

Also i have seen that headers can be added easily to PDFs. However, there is no documentation for adding it to the document. 

Thank you,

Poorani Rajendran [Syncfusion]
Replied On December 11, 2019 07:36 AM UTC

Hi Mitali,

Thank you for contacting Syncfusion support.

Is there any way in which I can add header and footer:
We have prepared sample application for adding header and footer to all the pages in the Word document and performed mail merge functionality in a Word document. The sample application can be downloaded from the below link:

Note: Please find the input Word document in “Data” folder of above sample application.

If we misunderstood of your requirement, Kindly please provide us the input Word template and modified code snippet of above sample application, thereby we will analyze the feasibility further on the mentioned requirement and update you with the appropriate solution at the earliest

Note: If you have any confidential data in your Word document, please replace with some dummy data and provide us the same. We just need your document to achieve your end requirements

Regarding there is no documentation for adding it to the document:
Please refer the below documentation link to add headers in PDF document,

UG: https://help.syncfusion.com/file-formats/pdf/working-with-headers-and-footers

Add header in new PDF document: https://www.syncfusion.com/kb/9115/how-to-add-headers-and-footers-to-a-pdf-file
Add header in an existing PDF document: https://www.syncfusion.com/kb/3670/how-to-add-header-and-footer-in-an-existing-pdf-documentpdfloadeddocument

Please let us know if you have any other questions.

Poorani Rajendran


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon