Click here to Skip to main content
14,869,969 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day.

Currently I've a RDLC report viewer, may I know how to catch the event of user click on print button in the toolbar? This is because I need to update db when user click print and second time to print duplicate when user print again.

Thanks in advance.


1 solution

There are several events that you can catch. Try with PrintPageEvent, I cannot remember the name of all of them, you can google them easily. I think there is PrintFinished or PrintCompleted, but it was some time since I did that and I handled my own printing.

At worst, hide print button from the viewer and add your own button and handle printing from there

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900