Is there a report source that works with reports hosted on Telerik Report Server?
We need to develop a service that prints reports directly to a printer and want to host the report in the report server for easy maintenance.
I see report viewers have a ReportEngineConnection property, but I could not find anything like this for report source.
Am I missing something, or has this not been implemented to print reports with the ReportProcessor?
The closest thing I see is the UriReportSource, but this requires a trdp file to be included in the project output.
Hi Stephen,
That's right - the ReportProcessor class is designed to work only with local reports and cannot access reports stored in a Report Server instance. Using the Report Server's API, you can connect to the Report Server and download the report definition to the client. I suggest also to check the Report Server API Client, which is a class designed to make your work with the Report Server assets easier.
Once fetched from the server as .trdp or .trdx, you can either use the ReportPackager or ReportSerializer to instantiate a ReportDocument, or save it locally and use the UriReportSource to render or print it with the ReportProcessor. Keep in mind that the processing of the report will be performed on the client, i.e. where the ReportProcessor works, so this application should be able to connect to the databases used in the report.
Thanks again.