How can we show page number as 'Page 'n' of Total number of pages' in PDF reports

2 posts, 0 answers
  1. Lance
    Lance avatar
    1 posts
    Member since:
    Oct 2018

    Posted 21 Dec 2018 Link to this post

    Currently while exporting report to PDF, only current page number is displayed at the bottom of each pages. Instead of this, we would like to show page number in 'n' of Total number of pages' format. 

    Any suggestion for this? 


  2. Todor
    Todor avatar
    435 posts

    Posted 28 Dec 2018 Link to this post

    Hi Lance,

    In Telerik Reporting there are built-in Page functions. You may use PageCount to get the total number of pages. For example, an expression like :

    = 'page ' + PageNumber + ' of ' + PageCount

    will display the current page and the total number of pages in the context of the entire report (i.e. 'page 1 of 20', 'page 2 of 20', etc).

    Note that Page functions can be used only in Page sections (i.e. PageHeader and PageFooter).

    Progress Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top