BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Query |
Response | |
I'm trying to configure the ReportPath property to load a RDLC report that is in another assembly. I have tried to use the full assembly name (ES.Trainfor.Example.Module.Report.ReportSample.rdlc) in the same way the ReportViewer control from Microsoft does but seems unable to find the report and always get the same error: "The source of the report has not been specified" I assign the ReportPath property and the ProcessingMode to Local. Is there a specific way to set the ReportPath when the report file is in another assembly/project? |
You can retrieve the report as resource stream and load it to ReportViewer using LoadReport API as shown in the below code snippet.
We have prepared a sample based on this and it can be downloaded from the below location.
| |
And another ReportViewer related question: what is the way to localize the control? There is no information in the documentation about how to do it for this control, or no resource file I could find for it. |
We have prepared a sample to localize the Report Viewer control using “es-ES” culture. It can be downloaded from the below location.
|