How to invoke Print Dialog from a web page without displaying the report
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 :