Note: there was no ReportViewer control in the dropdown for ASP.NET Core, so I randomly selected DataGrid.
It's unclear from the documentation https://help.syncfusion.com/aspnet-core/reportviewer/getting-started how to actually use a datasource. I have an RDL file that is being displayed in the control, but it's loading from the datasource embedded in the report itself, even after manually setting the datasource in the controller's OnReportLoaded(ReportViewerOptions) method.
How can I make an RDL report use a datasource that I set from code?
MSMahendran Shanmugam Syncfusion Team May 3, 2019 02:07 AM
We can able to pass the datasource values from code behind for RDL report when setting the processing mode as local. We have prepared the simple ASP.NET Core Report Viewer sample to load the report from passing the datasource in code behind and it can be downloaded from below location.