PageNumber, retrive value

4 posts, 0 answers
  1. Frank
    Frank avatar
    31 posts
    Member since:
    May 2006

    Posted 10 Dec 2008 Link to this post

    Hi all.
    How can I retrieve PageNumber value in my report code?
  2. Rossen Hristov
    Rossen Hristov avatar
    2477 posts

    Posted 12 Dec 2008 Link to this post

    Hello Frank Effenberger,

    PageNumber and PageCount are global objects that can be used in expressions, but only in the context of the PageHeader and PageFooter sections. For example, you can set the Value of a TextBox in the PageHeader to be:

    =PageNumber + ' of ' + PageCount

    and this will show you "1 of 3", "2 of 3", etc. on the different pages of your report.

    Have in mind that paging is specific to the rendering format and must occur during rendering, well after early report processing where data binding occurs. For more information, please see:

    Report Life Cycle
    Using Expressions

    If you have any further questions, please do not hesitate to contact us.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Maltrak
    Maltrak avatar
    3 posts
    Member since:
    Nov 2014

    Posted 02 Jul 2015 Link to this post

    Hi, i have a problem with pagenumber / not show numbers... can you helpme please...


  4. Maltrak
    Maltrak avatar
    3 posts
    Member since:
    Nov 2014

    Posted 02 Jul 2015 in reply to Maltrak Link to this post

    I answer to my self,  my error was the field that wasn't in the footer or header, it was into detail area and its wrong.
Back to Top