it generates error. "Operation is not valid due to the current state of the object."
This is because the report is still rendering and you are trying to print it out.
You need to wait thill the rendering finishes. There is an event
RenderingComplete
, that you can use to avoid it.
Have a look at this thread:
Similar discussion discussed here[
^]
UPDATE:
Just found
another thread[
^] confirming my answer.