
May 5th, 2003, 11:19 PM
|
|
Registered User
|
|
Join Date: May 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Suppress hor/vertial scrollbar of crystalrptviewer
It's an ASP.NET app+Visual Basic. On my webform.aspx, I've place a crystal report viewer. When this web form is displayed, I'd like to be able to displayed this crystal report viewer on my web page with a specified width/height. In Sub Page_load,<br>I've inserted the following codes:<br> Dim xHeight As New Unit(300, UnitType.Pixel)<br> Dim xWidth As New Unit(400, UnitType.Pixel)<br><br> With CrystalReportViewer1<br> .ReportSource = Server.MapPath("myRpt.rpt")<br> .Height = xHeight<br> .Width = xWidth<br> End With<br>The web page displayed the report in the specified width and height but it also displays a horizontal scrollbar. How do I suppress this horizontal scrollbar for this crystal report viewer control ?<br>Thanks in advance for your help
|