I found that there is not horizontal scrollbar of the Report Viewer if I am using IE7. But there is no problem for IE6 and FireFox.
Is it a bug of IE7? or there is a way to solve it?
THX |
| Koalalalala Monday, February 05, 2007 3:25 AM |
I'm having the same problem. IE7 cuts off the bottom part of the report viewer so you can't see thehorizontal scrollbar. |
| Daniel2005 Wednesday, May 16, 2007 6:36 PM |
Add a third person to the list that's encountered the problem. I've tried setting the height property to 100% of the available space, but then the vertical scrollbar gets cutoff. The other odd thing I've noticed is that when I set the height property, the outer shell of the control renders as a table instead of as a div, which is what it normally is rendered as. So far the only workaround I've found is to add 50 pixel margin between the control and what I'm putting the control in (a table in this case).
rvReport.Attribute.Add("style", "margin-bottom: 50px;")
Unfortunetly, this leaves 50pixels of empty space in IE6, so it isn't ideal. If there is a better solution, or an explanation to the problem, let me know! |
| Spector Friday, May 18, 2007 4:15 PM |
Spector's solution works pretty well, just a minor tweak so that IE6 and Firefox don't have to pay for IE7's incompatability...
Code Snippet
string userAgent = Request.ServerVariables.Get("HTTP_USER_AGENT");
if(userAgent.Contains("MSIE 7.0"))
vwrReports.Attributes.Add("style", "margin-bottom: 30px;");
|
| Arbiter44 Wednesday, May 30, 2007 6:34 PM |
There is problem with vertical scrollbar also. It would appear even if it is not necessary. Is there any way to make the page scrollbar appear instead of report viewer scrollbar. AsynchRendering =False is not working fine.
|
| Smitha A Wednesday, October 10, 2007 5:58 AM |
Some improvement after entering interacctive size in design
|
| Smitha A Thursday, October 11, 2007 5:39 AM |
| Smitha A wrote: |
Some improvement after entering interacctive size in design
| | |
| Smitha A Thursday, October 11, 2007 5:41 AM |
Is this issue already fixed?Becuase i already had encountered this problem.Can i know what controls you are using?because,before,i have a line control,but after i have removed that,it works fine.. |
| plengski Monday, October 22, 2007 8:04 AM |
Wrap the control in DIV tag. This solved the Horizontal and vertical scroll bar problem for me in IE 7.Though the width of the report control is 900px, it takes the width of the table.
<TABLE WIDTH="YOUR WIDTH HERE"> <TR> <TD>
<div >
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt"
Height="600px" Visible=False Width="900px" SizeToReportContent="True" >
<LocalReport ReportPath="XYZ.rdlc">
</LocalReport>
</rsweb:ReportViewer>
</div>
</td>
</tr>
</table> |
| som Tuesday, November 13, 2007 6:55 PM |
Thanks guys your suggestions helped me a lot. - Proposed As Answer byedmanbogota Thursday, October 15, 2009 11:57 PM
-
|
| Venk123 Saturday, April 19, 2008 2:01 PM |
with this code locating the html control you can play with the reportviewer as you need for example to adjust the size of iframe and control scrolling thanks to DOM power. if (!this.IsPostBack) { this.rpvVisorReporte.ProcessingMode = ProcessingMode.Local; // Of course may be Remote this.rpvVisorReporte.LocalReport.EnableExternalImages = true; // Only for presentation this.MostrarReporte (); // Call the Business logic to set report (the same applies to remote defined reports in rdls) } // THE IMPORTANT PART ClientScript.RegisterStartupScript(this.GetType(), "AjusteIFrame", @"var ifrIframeReporte = document.getElementById ('ReportFramectl00_cphContenido_rpvVisorReporte '); ifrIframeReporte.style.height = '" + (this.rpvVisorReporte.Height.Value - 29) + "';", true); // By esanchezfo.
- Proposed As Answer byedmanbogota Friday, October 16, 2009 12:00 AM
-
|
| edmanbogota Friday, October 16, 2009 12:00 AM |