ReportViewer print button event handler

2 posts, 1 answers
  1. mutlu
    mutlu avatar
    3 posts
    Member since:
    Nov 2015

    Posted 20 Apr 2018 Link to this post

    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.

  2. Answer
    Todor
    Admin
    Todor avatar
    237 posts

    Posted 24 Apr 2018 Link to this post

    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
Back to Top