Configuration

Use the following configuration options to bind the WireBootstrap SSRS Component to a report.

Property Name
Default
Description

autoInit

true

Determines whether the report loads when the render method is called.

height

window.height

The height of the report iframe. Defaults to a dynamic height based on the window dimensions.

listen

true

Determines whether data events are set up to listen for changes to data on the page.

parameters

The data parameters sent to the report. See Report Parameters for details.

reportPath

The relative path to the report file on the SSRS server. See Report Path for details.

reportViewerUrl

./ReportViewer.aspx

The URL to the page hosting the Report Viewer component. See Report Viewer for details.

showParameterPrompts

false

Determines whether the report shows its parameters above the report. This is a short-cut to the same property on the Report Viewer component.

spinner

true

Report Path

Use the reportPath property to specify the path to the report relative to the report server. This is a short-cut to the Report Viewer control's ReportPath property.

new wire.ssrsViewer().render("#report", {
    reportPath: "/Sales Reports/Sales by Product"
});

Report Parameters

Use the parameters property to specify the parameters for the report. Optionally, values for each can also be specified.

new wire.ssrsViewer().render("#report", {
    ...
    parameters: [
        { Name: "Region", Value: "Central" }
    ]
});

Last updated