Progress® Telerik® Reporting R3 2018

sendEmailBegin

Occurs before the report is exported and the E-mail message is sent.

Parameters:

Parameter

Description

e

This is the jQuery.Event object and e.data is respectively jQuery's event.data. e.data.sender is the report viewer that raised the event.

args

An object with properties:

  • deviceInfo - the device info that will be used for the export document.

  • handled - prevent the default export report and send email operations. Default value: false.

  • format - the document format of the sent report document.

JavaScript
// $(handler) is jQuery's shorthand for $(document).ready(handler)
$(function () {
  $("#reportViewer1").telerik_ReportViewer({
    serviceUrl: "api/reports/",
    reportSource: {
        report: "Telerik.Reporting.Examples.CSharp.Invoice, CSharp.ReportLibrary"
    },

    sendEmailBegin: function(e) { console.log("This event handler will be called before exporting the report in " + arguments.format + " and sending the E-mail message"); }
});
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy