New to Telerik Reporting? Download free 30-day trial

The reportSource(rs) method of the HTML5 Report Viewer

Sets the report source.

Parameters:

Parameter Description
rs an object with properties:
  • report - the report. For more information please see jQuery.fn.telerik_ReportViewer’s reportSource option in Report Viewer Initialization.;
  • parameters - an object with properties that names are the report parameters’ ids and values - the report parameters’ values;

Returns: the current ReportViewer object.

var reportViewer = $("#reportViewer1").data("telerik_ReportViewer");
reportViewer.reportSource({
    report: "product catalog.trdx",
    parameters: { "CultureID": "fr" },
});

See Also

In this article