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

Telerik Reporting Print issue in IE11 and Firefox

3 Answers 124 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Venkateswar
Top achievements
Rank 1
Venkateswar asked on 16 Jun 2014, 07:17 AM
I am using Telerik Reporting Q3 2011 SP1 in my project. I am facing an issue with the Telerik Report Print option on IE 11 and Firefox 30.0 browsers. When I click on Print, it tries to open it as a PDF. For Chrome, it works fine.  

I went through some forums on your site and found that it’s a known issue and will get fixed in Q3 2013 SP1 release. As per the release history on your site, it has been fixed in Q3 2013 SP1 release. Now I have downloaded the trial version of Q3 2013 SP1 and upgraded my reports. While testing on IE 11 and Firefox 30.0, I am getting the same issue. But it works well on Chrome.

I have attached a snapshot of the issue. Please look in to the issue. 

Rao 

 

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Jun 2014, 01:57 PM
Hi Rao,

The issue is only resolved for IE 11 as elaborated in the Q3 2013 SP1 release notes. About Firefox we are still waiting Firefox team to resolve Bug 840439 - Expose PDF.JS as a plugin navigator.plugins when enabled. Once this bug is resolved we will be able to correctly determine the active plugin and execute directly the True Print operation. In the meantime check out the suggested workaround in Print button in Firefox starts PDF download forum thread.

About still having the issue in IE 11 please clear the browser cache and make sure the browser is configured as elaborated in the True Print help article.

Regards,
Peter
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.

 
0
Eric
Top achievements
Rank 1
answered on 18 Mar 2016, 04:15 PM

The band-aid fix mentioned in 'Print button in FireFox starts PDF download' does not trigger. Here is the code we are using:

 

<telerik:ReportViewer ID="ReportViewer1" runat="server"
                    ShowPrintPreviewButton="false"
                    ShowDocumentMapButton="false"
                    ShowExportGroup="true"
                    ShowParametersButton="false"
                    DocumentMapVisible="false"
                    EnableViewState="False"
                    ViewMode="PrintPreview"
                    ShowHistoryButtons="False"
                    SkinsPath="Contents/Skins"
                    Skin="LendingCloud"
                    EnableTheming="true"
                    CssClass="telerik-reportViewer"
                    BorderColor="Red">
                    <script type="text/javascript">
                        GetBrowserHelper = function() {
                            console.log('GetBrowserHelper triggered');
                            if (window.navigator) {
                                console.log('window.navigator');
                                var userAgent = window.navigator.userAgent.toLowerCase();
                                console.log('userAgent', userAgent);
                                if (userAgent.indexOf("msie") > -1 || (userAgent.indexOf("mozilla") > -1 && userAgent.indexOf("trident") > -1)){
                                    console.log('browser: ie');
                                    return new IEBrowserHelper();
                                }
                                else if (userAgent.indexOf("firefox") > -1){
                                    console.log('browser: firefox');
                                    return new FireFoxHelper();
                                    }
                                else if (userAgent.indexOf("chrome") > -1) {
                                    console.log('browser: chrome');
                                    return new ChromeHelper();
                                }
                                else {
                                    console.log('browser: other');
                                    return new OtherBrowsersHelper();
                                }
                            }
                            return null;
                        }
                    </script>

0
Stef
Telerik team
answered on 23 Mar 2016, 04:18 PM
Hi Eric,

The Javascript method suggested by my colleague in the Print button in Firefox starts PDF download forum thread, works as expected with the old ASP.NET WebForms ReportVIewer in Firefox.

Note that the web viewers print functionality depends on the Adobe PDF plugin available in most browsers. In Firefox, the Adobe PDF plugin is not used by default, which causes the print operation to falls back to download of the generated PDF file. Please check the linked article and verify browsers are configured to load the received PDF file in order the print operation to be successful.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Venkateswar
Top achievements
Rank 1
Answers by
Peter
Telerik team
Eric
Top achievements
Rank 1
Stef
Telerik team
Share this question
or