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

Open print dialog when report print button is clicked

7 Answers 444 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 27 Feb 2014, 11:01 AM
Hi

Is there a way to open the print dialog when you press the print button. Currently it askes if I want to open or save a PDF.

Andy

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 27 Feb 2014, 05:11 PM
Hi Andy,

 We will need some additional information. Which report viewer you use and in which browsers you experience the unexpected behavior?

Regards,
Peter
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Andy Green
Top achievements
Rank 2
answered on 27 Feb 2014, 05:37 PM
This  is the web viewer I'm using version 7.2.13.1016.

The attached image shows the button in question, When I press it it asks if I want to open or save PDF.

Andy
0
Andy Green
Top achievements
Rank 2
answered on 28 Feb 2014, 08:57 AM
I'm using IE 11

Andy
0
Peter
Telerik team
answered on 28 Feb 2014, 11:01 AM
Hello Andy,

The reason for the issue is the new behavior of the browser described in details in the Compatibility changes in IE11 MSDN article. Currently IE11 represent itself by default with navigator.userAgent property value Mozilla/5.0. Generally we read this property to handle per browser the pdf plugin checks and print operation. Thus this new and unexpected IE 11 behavior causes the report viewer to misrecognize the client browser that results in incorrect PDF plugin resolution and the fallback to the export operation. 

This issue is already fixed and our recommendation is update your Telerik Reporting installation with the latest official release.

Regards,
Peter
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Andy Green
Top achievements
Rank 2
answered on 28 Feb 2014, 12:01 PM
Thank you, and sorry I should have got the latest version.

One last thing on this thread, is there a way to change the file name of the printed document. Currently says Telerik..  in the file name in the print dialog. Be nice to use my own.

0
Andy Green
Top achievements
Rank 2
answered on 03 Mar 2014, 09:57 AM
HI

I'm still having problems. If I print from my dev I get a different print dialog. From dev I see the actual report content in a preview window. See Image 1.

If I print from live, I get image 2. but when I print it prints the report container. ie I get the print buttons / nav / export options

Andy
0
Peter
Telerik team
answered on 05 Mar 2014, 08:29 AM
Hi Andy,

The Web Forms Report Viewer supports True Printing. The True printing is the only way to support multi-page reports printing in most of the browsers. The True print is rendering the report in PDF with special settings so when the PDF file opens in browser, the PDF plug-in print dialog is invoked. Thus make sure the Adobe PDF plugin is available. For additional information see True Print help article.

Regards,
Peter
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Tags
General Discussions
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Peter
Telerik team
Andy Green
Top achievements
Rank 2
Share this question
or