Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Report rendering using SSRS in Google Chrome

Hey, In our project, we use SSRS integrated with asp.net forms to render reports.

The report looks good in IE. when it comes to google chrome, there're some issues we face such as

  1. date picker not displayed in the parameter prompt
  2. distorted tool bar

Does any one have any idea how to get around this problem in chrome?

I appreciate your inputs. Thanks. Ananth

like image 584
Ananth Avatar asked Nov 11 '09 17:11

Ananth


People also ask

Does SSRS work in Chrome?

Using Google Chrome with SSRS, especially when the reports are on a different server, is certainly possible. It does require jumping through a few hoops. The hoops can be performed in a GPO to make it easy to apply across your company easily. The post Using Google Chrome with SSRS appeared first on Wayne Sheffield.

Can SSRS render HTML?

The HTML rendering extension is the default rendering extension for reports that are viewed in a browser, including when run in the SQL Server 2016 Reporting Services or later (SSRS) web portal. The HTML rendering extension can render HTML as a fragment or as a full HTML document.

How do I display an SSRS report?

Use Page Viewer web part. Select Web Part Page, insert Page Viewer web part, and put the url of SSRS into the web part.


2 Answers

To Fix Chrome Date Picker

http://www.rajbandi.net/post/2011/04/03/Fixing-SSRS-Report-Viewer-control-date-picker-in-Google-chrome.aspx

To fix Chrome Distortion

http://www.rajbandi.net/post/2011/04/03/Fixing-ReportViewer-control-toolbar-in-Google-Chrome.aspx

like image 141
Raj Avatar answered Jan 03 '23 02:01

Raj


A non Jquery version of Raj's code to fix the Chrome Distortion is actually quite easy:

<style type="text/css">
    .reportViewerCtrl table
    {
        display: inline-block !important;
    }
</style>

The problem is there are several tags inside the Report Viewer control header. These table tags have a display type of 'inline', which causes Chrome to generate a newline.

Using the !important tag to overwrite this display type will solve the problem.

Hope this helps someone.

like image 26
Slider345 Avatar answered Jan 03 '23 01:01

Slider345