Need to hide page header on report footer section

Posted by: Otye.06 on 12 November 2020, 3:28 pm EST

    • Post Options:
    • Link

    Posted 12 November 2020, 3:28 pm EST

    Hi,

    I’ve been having minimal success with hiding the page header in the report footer section which is setup to show on the last page. The report footer is set for New Page = Before .

    Below is what I’ve tried:

    ReportInfo1 = Page Number

    ReportInfo2 = Page Count

    public void ReportFooter1_Format()

    {

    if(this.ReportInfo1.Text == this.ReportInfo2.Text)

    {

    this.PageHeader.Visible = false;

    }

    }

    The below seems to only for specific cases without any logical reason:

    public void ReportFooter1_Format()

    {

    PageHeader.Visible = false;

    }

    Thank you!

  • Posted 13 November 2020, 4:14 am EST

    Hello,

    ReportFooter event fire after the PageHeader event. Please refer to the following link for the Event sequence.

    https://www.grapecity.com/activereportsnet/docs/v14/online/report-events.html

    You can’t hide the PageHeader in the ReportFooter.

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels