Print without Preview no execute Printed event

Stimulsoft Reports.NET discussion
Post Reply
Marlesio
Posts: 11
Joined: Wed Jan 30, 2013 6:54 pm

Print without Preview no execute Printed event

Post by Marlesio »

Hi,

I created a code in printed event of a report, but it does not run when the report is printed without preview.
How do I use the printed event without preview?

Regards,

Marlesio
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print without Preview no execute Printed event

Post by HighAley »

Hello, Marlesio.

Unfortunately, this event does not work in net.
It seems that you are using the StiWebViewer.
You could use the PrintReport event of the viewer.

Thank you.
Marlesio
Posts: 11
Joined: Wed Jan 30, 2013 6:54 pm

Re: Print without Preview no execute Printed event

Post by Marlesio »

HighAley,

I guess I was not clear enough.
Whenever a particular report is printed, I need to save the date and time. This way includes this routine in the Printed event of it.
However, the date is only recorded when the report is printed through the viewer. If you try to print straight, without displaying the preview, the Printed event does not fired.

Regards,
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print without Preview no execute Printed event

Post by HighAley »

Hello, Marlesio.

Your issue is not clear.
What Viewer do you use for printing?
How do you print the report when you don't get the date?
Could you send us a sample with step-by-step instruction that will help us to reproduce the issue?

Thank you.
Post Reply