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

reportPath

reportViewerUrl

./ReportViewer.aspx

showParameterPrompts

false

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