Disable Printing Reports more than Once

1 Answer 53 Views
Report Viewer - ASP.NET Report Viewer - HTML5
Jonah
Top achievements
Rank 1
Jonah asked on 14 Feb 2022, 03:15 PM

We are currently using Telerik to generate unique barcodes and are running into an issue. Clients are printing the same barcodes multiple times without refreshing the list. Is there a way for us to either automatically refresh after a print has been completed or disable multiple prints of the same report?

 

General Info:

asp.net web application

Barcodes are generated through a stored procedure that verifies the barcodes are unique.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 16 Feb 2022, 01:48 PM

Hello Jonah,

If you need to refresh the report viewer after a print, you may do so in the printEnd(e, args) event. The e.data.sender object is the report viewer that raised the event and you may use this object to call the refreshReport() method.

And if you would prefer to perform a check whether a report has been printed before, you may try to do so in the printBegin(e, args) event.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Viewer - ASP.NET Report Viewer - HTML5
Asked by
Jonah
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or