Page 1 of 1

Issue with page display in StimulSoft web report preview

Posted: Wed May 10, 2023 8:49 pm
by hollanda
I have a webpage that I'm working on in my company, where pages from the same report are selected to be displayed on the screen as a preview for printing. We use conditions for each page in the BeforePrint event, within StimulSoft. We use the following condition:

Code: Select all

PageExample.Enabled = PrintExample;
PrintExample is the variable we use to mark whether a page should be enabled or not, of boolean type. Therefore, if the variable is true, the page.Enabled will also be true. However, some pages are not being displayed when selected. Just appear a empty frame.

Re: Issue with page display in StimulSoft web report preview

Posted: Wed May 10, 2023 9:29 pm
by Lech Kulikowski
Hello,

It is difficult to say something without a sample.

Also, please try to use the Conditions with the "Component Is Enabled" property, or the Enabled property with expression instead of the code in the BeforePrint event.

Thank you.

Re: Issue with page display in StimulSoft web report preview

Posted: Thu May 11, 2023 11:49 am
by hollanda
I'm sending an image of how we use conditions in StimulSoft Design software and another one of how the report appears on the website. I use a portuguese version of stimulsoft.

Re: Issue with page display in StimulSoft web report preview

Posted: Thu May 11, 2023 9:06 pm
by Lech Kulikowski
Hello,

Please check the sample report in the attachment.

Thank you.