What is wrong??? if the user select send to print first, show this error "Object reference not set as an instance of an object"
But if first sent to the screen, and then select send to the printer, there no problem ????
I Attach my code
2 Answers, 1 is accepted
0
Stef
Telerik team
answered on 25 Apr 2017, 03:28 PM
Hi Jose,
The code uses the viewer to print. The viewer's ReportSource must have been set and the report must have been processed and rendered with the information provided through the ReportSource.
You need to check if the viewer's ReportSource is set and if the report rendering is ended (RenderingEnd event) at the time the print operation is called.
I hope this helps.
Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items