Specify the Report Server url to accessing the report
processingMode
String
Specify the processing mode of the report
GetDatasourceCredential
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to get the Datasource credential
dataSources
JSON
Datasource of the report
parameters
String
Specify the parameter collections
ValidateDSCredential
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to validate the datasource credential
dataSources
JSON
Datasource of the report
UpdateDSCredential
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to update the datasource credential
dataSources
JSON
Datasource of the report
GetParameters
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to get the parameters
SetParameters
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to set the parameters
parameters
JSON
Specify the parameters details to set the parameters
UpdateParameters
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to update the parameters
update param
JSON
Specify the parameters details to update the parameters
UpdateDataSource
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to update the datasource
GetPageModel
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to get the page model
refresh
Boolean
Specify whether the report refresh or not
dataRefresh
Boolean
Specify whether the data refresh or not
pageIndex
Int
Specify the page index of the report
pageInit
Boolean
Specify whether the page initialized or not
isPrint
Boolean
Specify whether the page layout is print or not
GetPrintModel
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to get the print model
DrillDown
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to process drill down
pageIndex
Int
specify the page index of the report
toggleInfo
JSON
specify the toggle information to process toggle
refresh
Boolean
specify whether the report refresh or not
dataRefresh
Boolean
specify whether the data refresh or not
pageInit
Boolean
specify whether the page initialized or not
isPrint
Boolean
specify whether the page layout is print or not
ClearCache
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to clear the cache
DrillThrough
Parameter name
Data type
Description
reportAction
JSON
Input data in the JSON format to process the drill through
reportName
String
Specify the child report name to drill through navigation
parameters
JSON
Specify the parameters details to process drill through
authentication Key
String
Specify the authentication key to process drill through
Request
<div><!-- Creating a div tag which will act as a container for ejReportViewer widget.--><divstyle="height: 650px;width: 950px;min-height:404px;"id="viewer"></div><!-- Setting property and initializing ejReportViewer widget.--><scripttype="text/javascript">$(function(){$("#viewer").ejReportViewer({reportServiceUrl:"/api/ReportApi",processingMode:ej.ReportViewer.ProcessingMode.Local,reportPath:'Product List.rdlc',dataSources:[{value:[{ProductName:"Baked Chicken and Cheese",OrderId:"323B60",Price:55,Category:"Non-Veg",Ingredients:"Grilled chicken, Corn and Olives.",ProductImage:""},{ProductName:"Chicken Delite",OrderId:"323B61",Price:100,Category:"Non-Veg",Ingredients:"Cheese, Chicken chunks, Onions & Pineapple chunks.",ProductImage:""},{ProductName:"Chicken Tikka",OrderId:"323B62",Price:64,Category:"Non-Veg",Ingredients:"Onions, Grilled chicken, Chicken salami & Tomatoes.",ProductImage:""}],name:"list"}]});});</script></div>
Response
Code: 200
Content-Type:”application/json:charset=utf-8”;
Response Text:
Browser will render the reportviewer control with specified RDLC report.
Getting the Report Parameters of the Reportviewer Control
Code snippet:
return.GetParameters();
GetDataSources()
Getting the Report DataSource of the Reportviewer Control
Code snippet:
return.GetDataSources();
GetDataSetNames()
Getting the Report Dataset of the Reportviewer Control
Code snippet:
return.GetDataSetNames();
Help us improve this page
Please provide additional information
Please provide additional information
Please provide additional information
Please provide additional information
Please provide additional information
Please provide additional information
×
JavaScript
The Syncfusion Essential JavaScript 1 library, which is composed of jQuery-based widgets, is no longer being actively developed, and 2022 Volume 4 will be its final release. We suggest that users move to the Syncfusion Essential JS 2 library, which was designed to be lightweight and modular. To learn more about this migration, please refer to the documentation and demo for the Syncfusion Essential JS 2 library.