Skip to content

This example demonstrates how to print or export a report in an ASP.NET WebForms application without displaying a preview.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-webforms-print-export-report-without-showing-a-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for ASP.NET WebForms - How to print or export a report without showing a preview

This example demonstrates how to print or export a report in an ASP.NET WebForms application without displaying this report's preview.

Report Prine or Export Without 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.

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

This example demonstrates how to print or export a report in an ASP.NET WebForms application without displaying a preview.

Topics

Resources

License

Stars

Watchers

Forks