Page 1 of 1

Need help with NewPageBefore

Posted: Mon Aug 07, 2017 9:37 pm
by lsilva.gvdasa
Hello guys.

I need help with NewPageBefore option on my report.

I have tried everything to make GroupHeaderBand1 generate new page before it appears but I couldn't.

Here comes the sample:
Report - Sample.mrt
(67.1 KiB) Downloaded 454 times
Report - Data.7z
(2.2 KiB) Downloaded 334 times
Thanks.

I'm using the last build. (0.10)

Re: Need help with NewPageBefore

Posted: Tue Aug 08, 2017 9:07 am
by alex-t
Same issue.

My example - https://github.com/alex-t0/StimulsoftTest, look PageBreaks.mrt and code that use this template

Re: Need help with NewPageBefore

Posted: Tue Aug 08, 2017 5:04 pm
by lsilva.gvdasa
SimpleList - One Group.mrt
(37.23 KiB) Downloaded 456 times
SimpleList - Two Groups.mrt
(38.12 KiB) Downloaded 432 times
It seems like everytime I put two or more groups the options KeepGroupTogether and NewPageBefore doesn't work anymore. Please check theses examples made by the demo on stimulsoft's web site.

Re: Need help with NewPageBefore

Posted: Wed Aug 09, 2017 1:09 am
by Edward
Hi Alexander,

Please modify your code as follows to disable the RemoveEmptySpaceAtBottom feature:

Code: Select all

var settings = new StiWord2007ExportSettings();
settings.RemoveEmptySpaceAtBottom = false;
report.ExportDocument(StiExportFormat.Word2007, stream, settings);
Hi Isilva,

Please set the SkipFirst property to false for the GroupHeader band, that has the NewPageBefore property set to true.

Thank you,
Edward

Re: Need help with NewPageBefore

Posted: Wed Aug 09, 2017 10:54 am
by lsilva.gvdasa
Edward wrote:Hi Alexander,

Please modify your code as follows to disable the RemoveEmptySpaceAtBottom feature:

Code: Select all

var settings = new StiWord2007ExportSettings();
settings.RemoveEmptySpaceAtBottom = false;
report.ExportDocument(StiExportFormat.Word2007, stream, settings);
Hi Isilva,

Please set the SkipFirst property to false for the GroupHeader band, that has the NewPageBefore property set to true.

Thank you,
Edward
Hi Edward.

This will generate an extra first page wich I don't want to.

I have opened a ticket with the support and Ivan said that is a confirmed issue on Stimulsoft's engine.

Re: Need help with NewPageBefore

Posted: Wed Aug 09, 2017 1:57 pm
by Alex K.
Hello,

Thank you for the information.
We will reply to you by email on our support system when the solution will be available.

Thank you.

Re: Need help with NewPageBefore

Posted: Mon Aug 21, 2017 12:21 pm
by lsilva.gvdasa
Aleksey wrote:Hello,

Thank you for the information.
We will reply to you by email on our support system when the solution will be available.

Thank you.
Hello Aleksey,

Can you confirm that this issue was solved in the last build of Stimulsoft. NET?

Att,

Re: Need help with NewPageBefore

Posted: Mon Aug 21, 2017 9:07 pm
by HighAley
Hello.

We confirm that the fix in included in our latest build.

Thank you.