reporting-docs/knowledge-base/display-print-dialog-withou...

1.5 KiB

title description type page_title slug position tags ticketid res_type
How to invoke Print Dialog from a web page without displaying the report Invoke Print Dialog for a report but keep the original page content how-to Force browser to display Print Dialog without loading the report on the page display-print-dialog-without-displaying-report-on-webpage 1337304 kb

Environment

Product Progress® Telerik® Reporting

Description

Print a report directly at client-side without displaying it in the web page.

Solution

The general approach is explained and demonstrated in the Print a report directly at client-side without displaying it in a Viewer.

To avoid displaying the PDF report on the page, instead of creating a response that will update the current page, use an invisible iframe attached run time, where to open the generated PDF. The PDF document should be saved in a folder accessible by the application, so that the src attribute of the iframe can point to the file.

Sample ASP.NET Web Forms projects :

ClientPrintingCSharp.zip

ClientPrintingVB.zip