Export to pdf headers and footers problem

7 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 17 Aug 2010 Link to this post

    Hi

    I am using the radeditor in server side code to export some data to a pdf. Just add a bit of html and hey presto! :)
    Can I set page header and footers? I want a "Page # of 10" at the bottom of each page for example.

    Kind Regards,
    Jeremy
  2. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 19 Aug 2010 Link to this post

    And I'd recommend everyone using the export to pdf function to vote for this feature request so that bold works straight out of the box.
    http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/2132
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 19 Aug 2010 Link to this post

    Hi,

    RadEditor is using a third party tool to provide HTML to PDF conversion functionality, which have some limitations. So to answer your questions:
    1. The tool that is used does not offer such functionality. It is possible to set page title using the RadEditor's inner tag ExportSettings, but it could be plain text only and does not support any formatting, e.g.:
      <ExportSettingsPdf-PageTitle="Sample page title"></ExportSettings>
    2. We raised the priority of PITS item 2132 and we will do our best to implement it for Q2 2010 SP1. Q2 201 SP1 is scheduled for the end of the month. If we run out of time, we will implement it for Q2 2010 SP2.

    Kind regards,
    Rumen
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 19 Aug 2010 Link to this post

    I've found that by using the thead and tfoot elements of a table I can sort of generate headers and footers. The footer on the last page appears wherever the text of the last page ends, rather than the bottom of the page. It allows me to include images, horizontal lines, etc although it ignores the position:absolute tag. What units of measurement are used in the export settings for the margins? eg pageheadermargin, pagetopmargin, etc. Inch ("in") seems to work but 1 is bigger than I need. mm and cm and px don't seem to have any effect.
    Is there any documentation available for the 3rd party exporting software?
  6. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 22 Aug 2010 Link to this post

    I'd also like to report a bug that the post name has changed from something like "Export to pdf headers and footers problem" to "RadEditor - limit characters entered (issue with right click - paste command)"????  :)
  7. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 23 Aug 2010 Link to this post

    Hi Jeremy,

    I updated the forum title to the original one: Export to pdf headers and footers problem.

    You can find information about the PDF export tool in the following articles:
    PDF export and
    http://fonet.codeplex.com.

    Best regards,
    Rumen
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 23 Aug 2010 Link to this post

    Thanks for the links Rumen.
    I got the margins to work by using 0.5in.
    Good luck making improvements using that pdf export tool :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017