Last post May 22, 2011 06:39 AM by ghost1484
May 15, 2011 11:19 AM|ghost1484|LINK
I'm using microsoft report viewer, it works fine but I want to track printing for the reports, so I need to detect that the user clicked the print button in the report viewer and then clicked Ok to send the document to the printer after that I want to post
back this information to the server to track printing
May 15, 2011 01:04 PM|shashankgwl|LINK
i don't think that can be done with report viewer.
May 19, 2011 03:44 AM|ghost1484|LINK
Thanks for your reply
I want to ask if there are any work around to achieve that
any ideas are welcomed
May 19, 2011 03:55 AM|frez|LINK
It can't be done. You are printing locally on the client side.
May 19, 2011 04:00 AM|ghost1484|LINK
Yes I know that but I mean if I can detect that the document has sent to the printer that means that he clicked Ok in the print dialog
May 19, 2011 05:25 AM|shashankgwl|LINK
NO, u can't detect that.
May 19, 2011 06:39 AM|ghost1484|LINK
Can I do that if I make a print button and print the document manually?
May 19, 2011 06:48 AM|shashankgwl|LINK
so what special will u do other than calling window.print() using JS. if nothing, u still won't be able to do that.
May 19, 2011 08:17 AM|frez|LINK
It is possible to invoke the reportviewer print dialog remotely, but you will have a restriction on only using it from IE. See this link;
Then, say you are wanting to audit the fact someone has printed it you could then use ajax to let the server know. Of course you still wont know if they cancelled out of the dialog.
May 22, 2011 06:39 AM|ghost1484|LINK
Good solution I have made it although it has some issues