This example demonstrates how to print or export a report in an ASP.NET WebForms application without displaying this report's preview.
The report uses one of the ExportTo... methods to export a report document to the page's Response.
To print the report, export it to the PDF format. Then write the PDF stream to the page's Response with the Content-Disposition header set to the "inline" value. The browser's built-in PDF viewer opens the PDF file. An alternative method exports the PDF to a separate iframe. In this case, only the print dialog is displayed.
- Default.aspx.cs (VB: Default.aspx.vb)
- Default.aspx (VB: Default.aspx)
- Reporting for ASP.NET MVC - How to print or export a report without showing a preview
- How to Print and Export a Report in the ASP.NET Core Application without the Document Viewer
- How to print and export DevExpress reports without previewing them on a web page in an ASP.NET Core Angular application
(you will be redirected to DevExpress.com to submit your response)