Blank page - Migrating C1Report to FlexReport

Posted by: thomas.hayashi on 6 December 2019, 4:16 pm EST

    • Post Options:
    • Link

    Posted 6 December 2019, 4:16 pm EST

    After resolving this thread

    https://www.grapecity.com/forums/winforms-edition/error-rendering-report-can

    I’ve realized that the new migrated FlexReport is always creating a second blank page, when the old C1Report, creates only one page.

    Sorry, if this is a rookie mistake, but I can’t find the reason why it’s creating this second blank page.

    Can someone look at ?

    Thanks

    Report_Blank_Page.zip

  • Posted 9 December 2019, 2:51 am EST

    Hello,

    The blank page owes to the SubreportField in the GroupHeader of your main report.

    You can set its ForcePageBreak property to “Before”, instead of “After”. Note that some changes have been made in reports to make them work efficiently and so, changes have been made in the implementation in FlexReport, as compared to C1Report.

    This property’s difference is a part of this change.

    Regards,

    Esha

    TestReport.zip

  • Posted 9 December 2019, 7:37 am EST

    Hello,

    Thank you very much, esha.dhir. I’ll mark the previous post as the answer.

    However, one more thing, for further reference: Is there a way to narrow and identify these kind of scenarios ? Or to even help making more detailed/relevant threads in the future ?

    I felt I was changing field’s properties blindly, hoping one of them could reach the layout.

  • Posted 10 December 2019, 3:07 am EST

    Hello,

    As this scenario was related to an extra page being added, I looked for the page break related settings and hence, saw the issue. While there is no specific way to narrow down the issues, you may see the related causes based on the current observation.

    In most cases, you share the report which helps us provide you timely assistance. In case you cannot share them here publicly on the forum at any point, you can create a new ticket on SupportOne (https://supportone.componentone.com) with all the details related to your report and observations.

    In case the details you share are not sufficient, we do get back to you asking for the same.

    You can also refer to the documentation and see if it addresses your concerns:

    https://www.grapecity.com/componentone/docs/win/online-flexreport/overview.html

    For ForcePageBreak property, you can refer the documentation here:

    https://www.grapecity.com/componentone/docs/win/online-flexreport/C1.Win.FlexReport.4.5.2~C1.Win.FlexReport.ForcePageBreakEnum.html

    Thanks,

    Esha

Need extra support?

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

Learn More

Forum Channels