Subreport Page Header Workaround

12 posts, 0 answers
  1. Feedback
    Feedback avatar
    15 posts
    Member since:
    May 2007

    Posted 16 Jul 2007 Link to this post

    Has anyone come up with a way to work around the limitation of not being able to show a header on each page within a subreport?

    What if I limit the number of records that I have on a given page to say, 25, and force the pagination at that point?

    Since my rows can size dynamically due to text wrapping, this really isn't an ideal solution, but it has now become a requirement that headers appear on all pages.

    Thanks for the help!
  2. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 18 Jul 2007 Link to this post

    Hello Feedback,

    We're working on to enable the page sections for subreports. Actually what we plan to do is to allow the users to display several reports subsequently thus every report will use its own page sections that is what exactly you need to do.

    It is not possible to set the number of rows to display on one page (as a grid control does), because the main purpose of the reporting tool is to generate reports that are ready for printing, and when printed they should appear on the paper in exactly the same way as they are displayed on the screen. This limits the report pages to physical pages, so the number of rows to fit on a page depends on the size of that page (its height) and size of the sections that occur on that page.

     
    All the best,
    Svetoslav
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
  4. Vince
    Vince avatar
    6 posts
    Member since:
    Jul 2007

    Posted 31 Jul 2008 Link to this post

    You mentioned that you are "working on to enable the page sections for subreports".  Is this change in Q2 2008 release?

    Thanks
  5. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 01 Aug 2008 Link to this post

    Hello Vince,

    Just to make this clear - our plans are to allow combining several reports in one single document and not to enable the page sections of the nested reports. Unfortunately we are still working on the core reporting functionality and up until now we haven't got the chance to make any progress on this. Once we have clear date about this it will be reflected in our product roadmap.

    Kind regards,
    Svetoslav
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Vince
    Vince avatar
    6 posts
    Member since:
    Jul 2007

    Posted 01 Aug 2008 Link to this post

    So is there no other way to get column headings to repeat on subsequent pages when using subreports other than having those headings on the page header section?

    Thanks!
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 01 Aug 2008 Link to this post

    Hi Vince,

    Page header/footer sections of subreports are ignored by our reporting engine by default - only the master report can have page sections. In order to have a header/footer that repeats on every page, you can consider using an unbound group (a group without any grouping criteria specified) and set its GroupHeader/FooterSection.PrintOnEveryPage = True.

    Greetings,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. Vince
    Vince avatar
    6 posts
    Member since:
    Jul 2007

    Posted 01 Aug 2008 Link to this post

    Thanks for the suggestion.  I tried adding the unbound group, but now none of the detail records are being displayed on the first page.  In the details section keeptogether = false and I also tried stting the keeptogether for the group to false and that did not work either.  Any idea why the details would no longer output on the first page now that i have added the group?
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Aug 2008 Link to this post

    Hi Vince,

    Can you verify that you have enough space to render the data for the first page - please check the height and width of the section. Also make sure that you do not have PageBreaks for the group - if you do please remove them.
    If none of the above helps, please open a formal support ticket and send us your report.

    All the best,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Vince
    Vince avatar
    6 posts
    Member since:
    Jul 2007

    Posted 04 Aug 2008 Link to this post

    Thanks again for the suggestions.  I have verfied that there is enough space to render the report details on the first page.   I can open a support ticket on this.  Exaxtly what would you need me to send?  I have the main report then another report that has the column headings for the subreport and then the subreport details.

    Thanks!
  11. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Aug 2008 Link to this post

    Hello Vince,

    Zip and send us everything that is relevant to the problem. It would be best if we're able to run the report and see the issue on our end, so using a dummy data, using AdventureWorks, Nwind or sending a backup of your database would be appreciated.

    Sincerely yours,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  12. Dan
    Dan avatar
    35 posts
    Member since:
    Oct 2008

    Posted 21 Apr 2011 Link to this post

    Has there been any progress on being able to show header/footer information for subreports or nesting multiple reports in one document?  I haven't been able to find any topics like this in the last few years.  We're basically trying to create a report that has 4 different sets of data listed monthly and having totals on them, like a dashboard.  Without a report footer to do the summation in, I'm not sure how to achieve this effect.
  13. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 22 Apr 2011 Link to this post

    Hi Lars Solberg,

    This forum thread is more than two years old and a lot has changed. First, report footer is available for subreport items as well, I guess you are referring to page footer? You can create 4 different reports from the 4 different sets of data and combine them into a Report Book. Each report in the report book can has different page settings and separate page headers/footers.

    Greetings,
    Steve
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner