This is a migrated thread and some comments may be shown as answers.

ReportViewer print button event handler

1 Answer 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mutlu
Top achievements
Rank 1
mutlu asked on 20 Apr 2018, 11:37 AM

Hi,

When I hit the "print" button on reportviewer I need to call a procedure which writes the date of printig into the database.

I cant seem to find an event of sorts that does it. Anyone have any solution for this?

 

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 24 Apr 2018, 03:04 PM
Hello mutlu,

All Telerik Reporting Report Viewers expose the PrintBegin event.

Here are the links to the corresponding event/API articles based on the type of application/Report Viewer used:

For the Html5 Report Viewer: printBegin(e);
For the Html5 MVC Report Viewer: PrintBegin - check MVC Viewer Client Events article;
For the Html5 Web Forms Report Viewer: PrintBegin - check Html5 Web Forms Viewer Client Events article;
For the Angular Report Viewer: printBegin - check Angular Report Viewer events;

For the Silverlight Report Viewer: Silverlight ReportViewer.PrintBegin Event;

For the Win Forms Report Viewer: Win Forms ReportViewerBase.PrintBegin Event;
For the WPF Report Viewer: WPF ReportViewer.PrintBegin Event.

Regards,
Todor
Progress Telerik
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
Tags
General Discussions
Asked by
mutlu
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or