How can I get total page in codebehind

2 posts, 0 answers
  1. savas
    savas avatar
    2 posts
    Member since:
    Dec 2015

    Posted 28 May 2016 Link to this post


    I want to get total page in codebehind and set value textfield in DetailSection.

    I googled it but no answer. Thank you.

  2. Stef
    Stef avatar
    3610 posts

    Posted 31 May 2016 Link to this post

    Hello Savas,

    Page sections and their content are the last to be processed and rendered. Thus using the PageNumber and PageCount objects in report sections, like Detail section, is not supported.
    For more details, please check Report Structure and Report Life Cycle.

    Please consider reorganizing the report layout to avoid the need of page numbers in the report's content.

    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