New to Telerik Reporting? Download free 30-day trial
sendEmailEnd(e, args)
Occurs after the report is exported and before 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:
|
// $(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" }, sendEmailEnd: function(e, args) { args.format = "XLS"; console.log("This event handler will be called after exporting the report."); console.log("The exported report can be found at " + args.url); } });