This is a migrated thread and some comments may be shown as answers.

Print The Document Using External Print Button

1 Answer 282 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 1
Mohammed asked on 19 Jun 2014, 05:45 AM
Hi,
I'm using telerik reporting tool Q3 2012 for my asp.net web application. What i'm facing now is when i use firefox, it is showing error while clicking print button. And while using chrome it works fine, it prints directly. but in IE, Opera and Safari it downloads it as pdf and from that file we need to print. Is there is any way for print the document in telerik reportviewer using an external print button?


Thanks,
Mohammed

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 23 Jun 2014, 12:22 PM
Hi Mohammed,

Please check the following forum discussion, where my colleague explains in details the ASP.NET ReportVIewer print functionality - Print button in Firefox starts PDF download.

With Telerik Reporting Q3 2012 the recommended approach is to export the report into PDF and inject Javascript that will open the PDF reader's Print dialog on previewing the document. (The JavaScript setting can be applied though the PDF renderer configuration). Thus you can achieve a coherent behavior in all browsers without depending on their PDF plugins and printing capabilities.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Mohammed
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or