Get page per row

4 posts, 1 answers
  1. Andreas
    Andreas avatar
    6 posts
    Member since:
    Feb 2016

    Posted 28 Feb Link to this post

    Hi,

     

    it is possible to obtain page numbers per line. I need to save the current page number in the database per line.
    Right now I have a report where I determine the line and page numbers, but page numbers are generated after printing, so I can only save the scope of pages.

    Thank you.

    Andreas

  2. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 02 Mar Link to this post

    Hello Andreas,

    Page numbers can be retrieved from the PageNumber object in an expression. Note that the PageNumber object is available and can be used only inside the Page Header and Page Footer sections.

    Regards,
    Nasko
    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
  3. DevCraft banner
  4. Andreas
    Andreas avatar
    6 posts
    Member since:
    Feb 2016

    Posted 02 Mar in reply to Nasko Link to this post

    Hello Nasko,

     

    yes I know and I have included this feature but it's too late to use this function, because first the rows are printing and at the end the page-headers. So I can only get the page-range.

     

    Sample:

    Page 1:

    row 1
    row 2
    row 3
    row 4

    Page 2:

    row 5
    row 6
    row 7

    I must know the page is 1 at row 1 to 4 and page is 2 at row 5 to 7.
    I hope you understand what I mean.

    Regards,

    Andreas

     

     

     

  5. Answer
    Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 07 Mar Link to this post

    Hello Andreas,

    Saving the current page number or any other information from the report to a database is not in the scope of the Reporting solution. In the report life cycle, the paging is separated from the processing of the report and you will be unable to retrieve the required information.

    Regards,
    Nasko
    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