Report book doesn't print page footer

4 posts, 0 answers
  1. Warren
    Warren avatar
    17 posts
    Member since:
    May 2008

    Posted 07 Jul Link to this post

    Shouldn't the page footer print on every page even if I'm using a ReportBook?

     

    In the end I'm going to combine 2 different reports but for testing this I'm just adding 1 report twice (or more, the page footer only shows on the last page).

     

    This is my code, am I doing something wrong?

     

    Imports Telerik.Reporting

    Partial Class MA_PrintPreview
        Inherits System.Web.UI.Page

        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim report As New Reports2.ContractNew
            report.ReportParameters(0).Value = Me.Request.QueryString("PlanID")

            Dim reportBook As New ReportBook()
            reportBook.Reports.Add(report)
            reportBook.Reports.Add(report)


            Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()
            instanceReportSource.ReportDocument = reportBook
            'ReportViewer1.Report = report

            ReportViewer1.ReportSource = instanceReportSource

        End Sub
    End Class

  2. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 08 Jul Link to this post

    Hello Warren,

    Please make sure that you are using the Page Footer section and not the Report Footer section which is printed only once on the last page.

    Regards,
    Nasko
    Telerik by Progress
    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. Warren
    Warren avatar
    17 posts
    Member since:
    May 2008

    Posted 08 Jul in reply to Nasko Link to this post

    I'm using the Page Footer, not the Report Footer.  

  5. Warren
    Warren avatar
    17 posts
    Member since:
    May 2008

    Posted 08 Jul in reply to Warren Link to this post

    I hate myself.  Everything was in a panel that had a rule not to print unless it was the last page.

    I changed the background color and saw that it was printing, just not the controls and started to investigate more.
Back to Top