Prevent page from printing

Stimulsoft Reports.NET discussion
Post Reply
joro
Posts: 63
Joined: Wed Jan 27, 2010 7:35 am

Prevent page from printing

Post by joro »

Hello!

I have designed a report which consists of 2 pages. "page2" should only be printed under certain circumstances.
I have tried to set page2.Enabled to false, but the page is printed nevertheless.

How can I prevent a page from printing?

best regards
joro
Attachments
Page2.png
Page2.png (5.8 KiB) Viewed 1417 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Prevent page from printing

Post by Alex K. »

Hello,

As a way, you can use the Conditions for the Page.
Please send us your report for analysis.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Prevent page from printing

Post by HighAley »

Hello.
joro wrote:I have designed a report which consists of 2 pages. "page2" should only be printed under certain circumstances.
I have tried to set page2.Enabled to false, but the page is printed nevertheless.

How can I prevent a page from printing?
We couldn't reproduce your issue.
How do you set page2.Enabled to false?
What version do you use?

Thank you.
joro
Posts: 63
Joined: Wed Jan 27, 2010 7:35 am

Re: Prevent page from printing

Post by joro »

Hello!

I have set page2.Enabled in an eventhandler in the sourcecode.
It turned out, that the eventandler was never called. I fixed it an everything is fine.

Sorry for the inconvenience.

Thanks anyways.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Prevent page from printing

Post by Alex K. »

Hello,

Ok.
Let us know if you need any additional help.
Post Reply