How do you generate ASP.NET reports in-memory for PDF download?

1 Answer 224 Views
DataSource SQL Programming Rendering
Alex
Top achievements
Rank 1
Iron
Iron
Alex asked on 22 Dec 2023, 06:29 PM

Currently, we use SSRS in our ASP.NET MVC apps to automatically generate tabular, in-memory reports based on RDLC templates against SQL Server data. The PDF produced by SSRS are downloaded to the user's browser. We don't provide any report viewer components on the page. How do you do this using Telerik Reporting?

Also, do you have beginner training videos for Telerik Reporting?

Thank you.

1 Answer, 1 is accepted

Sort by
1
Accepted
Dimitar
Telerik team
answered on 26 Dec 2023, 09:21 AM

Hello Alex,

If I understand correctly, you would like to export reports in PDF format without displaying them in a report viewer, is that correct?

For such a task, you may use the ReportProcessor class which represents the object responsible for printing and rendering Reports.

Please visit the Exporting a report to PDF programmatically - Telerik Reporting KB article for an example of how to use it to render the report to PDF and return it as an attachment to the client.

I hope this will help. Please let me know if you have any additional questions.

Regards,
Dimitar
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
DataSource SQL Programming Rendering
Asked by
Alex
Top achievements
Rank 1
Iron
Iron
Answers by
Dimitar
Telerik team
Share this question
or