ReportViewer控件 - 身高问题 [英] ReportViewer Control - Height issue

查看:234
本文介绍了ReportViewer控件 - 身高问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的asp.net应用程序,我试图打开一个特定的报告。我有ReportViewer控件100%宽度和100%的高度设置。现在我期待的意思,该报告将占据整个页面。好了我的意料,它没有。在IE7而花费的页面的整个宽度,只占用的高度的一小部分。在Firefox中,无论是宽度和高度都搞砸了。我有浏览器中打开一个新的网页,几乎所有的屏幕占据了。任何想法?

In my asp.net application, I am trying to open a particular report. I have the ReportViewer Control set with width of 100% and height of 100%. Now I expect that to mean that the report will take up the entire page. Well to my surprise, it does not. In IE7 while it takes the entire width of the page, it only takes up a small portion of the height. In Firefox, both the width and the height are messed up. I have the browser open up a new page that takes up almost all of the screen. Any ideas?

谢谢!

推荐答案

给它一个静态的高度是不够的报告的整个高度。据我所知,100%不会起作用,因为ReportViewer控件基本上是由一个大包裹 DIV 标记。

Give it a static height that is enough for the entire height of the report. As far as I know 100% will not work because the ReportViewer control is essentially wrapped by one big div tag.

这篇关于ReportViewer控件 - 身高问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆