Interface IReportController
Defines methods to process the SSRS, RDL, and RDLC reports.
Namespace: BoldReports.Web.ReportViewer
Assembly: BoldReports.Web.dll
Syntax
public interface IReportController
Methods
GetResource(String, String, Boolean)
Send a GET request and returns the requested resource for a report.
Declaration
object GetResource(string key, string resourcetype, bool isPrint)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The unique key to get the desired resource. |
System.String | resourcetype | The type of the requested resource. |
System.Boolean | isPrint | If set to true, then the resource is generated for printing. |
Returns
Type | Description |
---|---|
System.Object | This method returns a object or null if no resource with this key is found. |
OnInitReportOptions(ReportViewerOptions)
Method invoked when the report begins processing.
Declaration
void OnInitReportOptions(ReportViewerOptions reportOption)
Parameters
Type | Name | Description |
---|---|---|
ReportViewerOptions | reportOption | A ReportViewerOptions object that contains the report information. |
OnReportLoaded(ReportViewerOptions)
Method invoked when the report and subreport begin to load.
Declaration
void OnReportLoaded(ReportViewerOptions reportOption)
Parameters
Type | Name | Description |
---|---|---|
ReportViewerOptions | reportOption | A ReportViewerOptions object that contains the report information. |
PostReportAction(Dictionary<String, Object>)
Send a POST request with a collection of keys and values to process the report.
Declaration
object PostReportAction(Dictionary<string, object> jsonResult)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | jsonResult | A collection of keys and values to process the report. |
Returns
Type | Description |
---|---|
System.Object | The JSON object that contains processed report information. |