Problem with documents longer than one page.

Stimulsoft Ultimate discussion
Post Reply
Naico
Posts: 39
Joined: Wed Feb 21, 2018 9:52 am

Problem with documents longer than one page.

Post by Naico »

When we try to print documents with more than one page lenght the print is just plain white.
Even the Preview in the Stimulsoft editor is plain white.
I put a testdocument in the attachements.
Is there any setting missing to display everything correctly?
Attachments
Test2Pages.mrt
(71.89 KiB) Downloaded 312 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Problem with documents longer than one page.

Post by Edward »

Hi Naico,

I was able to reproduce the issue, thank you very much for the test report. We will update you in this topic when the solution for the issue is available.

Thank you,
Edward
5970
Naico
Posts: 39
Joined: Wed Feb 21, 2018 9:52 am

Re: Problem with documents longer than one page.

Post by Naico »

Any news about this issue?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Problem with documents longer than one page.

Post by Edward »

Hi Naico,

We are still working on that issue and will update you in this topic once there is a bug fix or at least a workaround for you.

Thank you,
Edward
Naico
Posts: 39
Joined: Wed Feb 21, 2018 9:52 am

Re: Problem with documents longer than one page.

Post by Naico »

How is it going on this subject?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Problem with documents longer than one page.

Post by Edward »

Hi Naico,

Sorry, it takes so long, will update you in this ticket in the next couple of days, once the solution or workaround is found.

Thank you,
Edward
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Problem with documents longer than one page.

Post by Edward »

Hi Naico,

The reason for the problem in the report is not connected with segments or word/page breaks. In the report template for the pnl3 component the property Interaction -> DrillDownPageGuid has got the guid of the current page, but DrillDownEnabled=false was set to false. As a result of this the engine skips the current page, assuming that the page must be rendered only in drill-down mode.
It is difficult to say the reason why it happened, could not reproduce it, in WinForms/Wpf designer there is no way to select the current page in DrillDown.
In order to fix the problem - just open the report in the designer, select pnl3, open the 'Interaction' property editor and close it with OK button. The guid for the component will disappear and the report will start to render correctly.

An additional note: There are many panels with long text which have been docked to each other. The text is long and that is not the best way of rendering the page, because all the components on the page are static, except of the bands, and they are repeated in the rendering of every page, so it is not the most efficient way.
The best approach in that case - to place the text components in the separate data bands, so the text will be split between different pages in the most efficient way and always correctly.

Please check the modified report template attached.
Test2Pages_fixed.mrt
(71.6 KiB) Downloaded 194 times
Thank you,
Edward
Naico
Posts: 39
Joined: Wed Feb 21, 2018 9:52 am

Re: Problem with documents longer than one page.

Post by Naico »

Thanks for your answer. This fix helped us with our problem.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Problem with documents longer than one page.

Post by Edward »

Hi Naico,

No problem, please let us know if you need any help.

Thank you,
Edward
Post Reply