Hello,
I have a report with 2 pages.
The first page contains some databands that are not always printed, depending on datas. In the case there is enough place for databands of the second page in the first page, I would like that these databands (defined in the second page on design time) fill the first page.
How can I do this ?
Thanks for reply
JP Verdu
Databands not fill in same page
Databands not fill in same page
You can do this in AfterPrintEvent of first page. You need change PrintOnPreviousPage of second page. Something like this:
Thank you.
Code: Select all
if (this.RenderedPages.Count == 1)
page2.PrintOnPreviousPage = true;
Databands not fill in same page
Thaks, it works perfectly
Databands not fill in same page
Ok! We are always glad to help you!