Progress® Telerik® Reporting R3 2017

error(e, args)

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

A string containing the error message.

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"
    },

    error: function(e, args) { 
      console.log("This event handler will be called after a page of the report is ready.");
      console.log("The error message is: " + args); 
    }
});