Find and display page numbers for detail items

4 posts, 0 answers
  1. Dermott Renner
    Dermott Renner avatar
    2 posts
    Member since:
    Nov 2004

    Posted 09 Oct 2018 Link to this post

    We have a telerik report that will be exported in pdf format.

    As part of the report, there is a group section that shows a “summary” of the items the group, later followed by more detailed information in the detail section.  The “summary” is on the group header, and is currently using a sub report to show some data.

    As part of the summary, we want do show page numbers for the items in the detail section so the user can reference it.

    I note we already have a table of contents in the report header that does this, but the client’s requirements also need the page number in the “summary” section on the page header.

    Additionally, the items in the detail section of the parent report already have bookmarkId values assigned, and the summary sub report already has text that has a “Navigate to Bookmark” action in place that points to the bookmarkId on the parent report and this works when clicking on it. 

    Basically we just need a way to pick up the actual page number to display.

    Is there a way of doing this (e.g. pick up the page number where a bookmarkId is located)?

    Thank you
  2. Todor
    Admin
    Todor avatar
    248 posts

    Posted 12 Oct 2018 Link to this post

    Hello Dermott,

    The Page Number and all Paging-related information is accessible only from the Page sections - i.e. Page Header and Page Footer. This is by design and is due to the fact that the paging of a report strongly depends on the format it is rendered - check Report Structure and Report Life Cycle articles.

    It is not possible to access the Page Functions outside the Page sections, hence the page number where a bookmarkId is located cannot be accessed in a Group or Detail section.

    Regards,
    Todor
    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
  3. Dermott Renner
    Dermott Renner avatar
    2 posts
    Member since:
    Nov 2004

    Posted 14 Oct 2018 in reply to Todor Link to this post

    Thanks for that.  If I then move the "section" I need into a page header for example, is it then possible to pick up the page number where a bookmarkId is located?  How would I do this?
  4. Todor
    Admin
    Todor avatar
    248 posts

    Posted 17 Oct 2018 Link to this post

    Hello Dermott,

    In the Page sections one can use only aggregated data. Page function can take only aggregate functions as arguments, hence it is not possible to provide a Field by which to evaluate the Page function - it will fall back to the aggregate function First.
    Note also that data items (like Tables, Lists, SubReports, etc.) cannot be placed in Page section.

    Unfortunately, it is not possible to get the page number where the item with a certain BookmarkId is located. 

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