[英]SSRS Reporting Services, ASP Report Viewer Rendering With Large Gaps/Spaces
I have an ASP.Net project with a report viewer (v11) pulling remote SSRS reports from a 2008 R2 Reporting Server. 我有一个带有报表查看器(v11)的ASP.Net项目,该报表查看器是从2008 R2报表服务器中提取远程SSRS报表的。
The issue is when the reports are rendered in the Report Viewer control, there are large gaps/spaces between the report's charts and tables. 问题是当报表在“报表查看器”控件中呈现时,报表的图表和表格之间存在很大的间隙/空间。
The reports render perfectly with no gaps or spaces when run from the report server or from visual studio (SSRS). 从报表服务器或Visual Studio(SSRS)运行时,报表可以完美呈现,没有任何间隙。
Has anybody experienced an issue similar to this? 有人遇到过类似的问题吗? Any suggestions would be greatly appreciated. 任何建议将不胜感激。
EDIT: Similar issues across common browsers (IE8 - 11, Google Chrome) 编辑:常见浏览器(IE8-11,谷歌浏览器)中的类似问题
Problem solved! 问题解决了!
Ironically, I discovered the cause of the error when my web app's CSS class failed to load. 具有讽刺意味的是,当我的Web应用程序的CSS类无法加载时,我发现了错误的原因。 With no CSS, the reports rendered perfectly on the web page! 没有CSS,报告可以完美呈现在网页上! I knew that the report viewer renders the report using HTML so I simply deleted all the 'table' related CSS that was auto generated when I originally created the web forms project. 我知道报表查看器使用HTML呈现报表,因此我只删除了最初创建Web表单项目时自动生成的所有与“表”相关的CSS。
Thanks for the suggestions:) 感谢您的建议:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.