The reportSource()
method of the HTML5 Report Viewer
Gets the current report source - report and parameters. The viewer's report source is updated dynamically as the users navigate between reports and change parameter values.
Returns: an object with properties:
Property | Description |
---|---|
report | the report. For more information please see jQuery.fn.telerik_ReportViewer’s reportSource option in Report Viewer Initialization. |
parameters | an object with properties the names of which are the report parameters’ IDs, and values - the report parameters’ values. |
var reportViewer = $("#reportViewer1").data("telerik_ReportViewer");
var rs = reportViewer.reportSource();