Query |
Response |
We are not sure why on UWP the SetParameters or GetParameters methods breaks with the following output: Object reference not set to an instance of an object. |
The report processing gets completed in WPF when report path value is given and ReportModel and parsing is done, so you can set parameter in WPF after reportpath property. But, UWP runs in asynchronous process, so models and parsing are done asynchronously due to this we need to set parameters in the “ReportLoaded” event of the SfReportViewer. We have modified your sample based on this and it can be downloaded from the below location.
|
One last problem which we found on UWP was while trying to use the ReportPath property instead of LoadReport, the SfReportViewer control seems to get stuck on an infinite loading loop while on WPF it works. |
In UWP we cannot directly access the physical drive path, so we have used stream of reports embedded to the application. You can create WebApi service to load report using report path in our control. Please refer our UWP reportviewer UG documentation for loading report using service.
|