Issue with page display in StimulSoft web report preview

Stimulsoft Ultimate discussion
Post Reply
hollanda
Posts: 2
Joined: Wed May 10, 2023 8:37 pm

Issue with page display in StimulSoft web report preview

Post 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.
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

Re: Issue with page display in StimulSoft web report preview

Post 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.
hollanda
Posts: 2
Joined: Wed May 10, 2023 8:37 pm

Re: Issue with page display in StimulSoft web report preview

Post 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.
Attachments
imagem_2023-05-11_084643719.png
imagem_2023-05-11_084643719.png (23.7 KiB) Viewed 7984 times
imagem_2023-05-11_083743801.png
imagem_2023-05-11_083743801.png (7.81 KiB) Viewed 7984 times
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

Re: Issue with page display in StimulSoft web report preview

Post by Lech Kulikowski »

Hello,

Please check the sample report in the attachment.

Thank you.
Attachments
Screenshot 2023-05-11 230542.png
Screenshot 2023-05-11 230542.png (179.98 KiB) Viewed 7969 times
ReportPageEnable.mrt
(7.35 KiB) Downloaded 164 times
Post Reply