This is a migrated thread and some comments may be shown as answers.

Report book doesn't print page footer

3 Answers 115 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Warren
Top achievements
Rank 1
Warren asked on 07 Jul 2016, 02:52 PM

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

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 08 Jul 2016, 10:08 AM
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
0
Warren
Top achievements
Rank 1
answered on 08 Jul 2016, 12:51 PM

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

0
Warren
Top achievements
Rank 1
answered on 08 Jul 2016, 04:01 PM
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.
Tags
General Discussions
Asked by
Warren
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Warren
Top achievements
Rank 1
Share this question
or