I am using Rad editor Version
Q1 2011.
I am using editor print functionality to print. Is there any way to add custom header and footer on each page.
Or i can manage if you can provide me any way to add custom header and footer in PDF export.
Please help me.
Regards
Atul Kumar Srivastav
3 Answers, 1 is accepted
0
Rumen
Telerik team
answered on 06 May 2011, 05:56 AM
Hello Atul,
RadEditor does not offer the required feature because the HTML markup is just a string and it is not possible to determine the content height and when the page ends.
In addition if you print the content using the document.execCommand("Print"); command which is actually the only print command provided by the browser, then please note that you cannot edit the page header and footer. They are set by the browser and cannot be edited.
RadEditor is using a third party tool to provide HTML to PDF conversion functionality, which have some limitations. The tool that is used does not offer the required functionality. It is possible to set only page title using the RadEditor's inner tag ExportSettings, but it could be plain text only and does not support any formatting,
Has there been any improvements or new features that support page footers or headers on the Radeditor control? This thread is from 2011 and so I'm just looking for an update.
Thanks.
0
Rumen
Telerik team
answered on 25 Aug 2017, 04:13 PM
Hi,
I am afraid that the header and footers are not offered by control in the produced HTML, because the generated content is just a string, but not content with pages as in MS Word. For the PDF export you can apply only plain text to the header as before.