English 中文(简体)
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

问题回答

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.

A lot of functionality is lost in Chrome, some of the elements can be fixed by Style Sheets. I don t think this will be fixed in future versions of SSRS.
As far as SSRS 2008, quite a few key features are implemented with active-x and it looks like SSRS 2008 R2 will remain the same.

you could also try forcing the useragent to be firefox. I have just done this to resolve a compatability issue with Chrome.

The user agent I used was

Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0

For more detail see https://stackoverflow.com/a/23603189/3479408





相关问题
An error has Occurred During Report proccesing

When I m running the report I m getting that message above. The Report Works fine when I press the "Run Report" Button but I want also to avoid that annoying message that appears when the page loads. ...

Reporting services only displaying the last row

I have built a report pretty basic just a table wiht 45 rows of data. Problem is its only showing one row of data and its the last row. It displays just fine in the dataset and proc. any ...

Show Parameters for Reports In SSRS

I m developing an SSRS in Visual Studio BIDS. In it, I have a link that links to another report (report A). Report A has 4 parameters (dates). When I click on that link, it goes to report A fine, but ...

How to add group, or page field in an existing .rdl report

I have several .rdl reports designed for our client. However, they need new ones, that are relatively similar to the old ones. Differences are in the "group" and "page fields" (these can be changed ...

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 date picker not ...

热门标签