Symptom
- Vertical scroll bar on the Crystal Reports Viewer takes up about 90% of the viewer's vertical dimension.
- The scroll bar only allows scrolling about 10% of the viewer, preventing scrolling to the bottom of the report page in the viewer.
Environment
- SAP Crystal Reports, Developer Version for Visual Studio .NET
- Microsoft Visual Studio .NET (2010 / 2012 / 2013)
Reproducing the Issue
- Create a new web application.
- Add a Crystal Reports web viewer to a web form.
- Add the following code (Page_Init):
CrystalReportViewer1.BestFitPage = False
CrystalReportViewer1.BestFitPage = False
CrystalReportViewer1.Width = 500
CrystalReportViewer1.Height = 600
CrystalReportViewer1.ReportSource = <some report>
- Note that this issue is not present if CrystalReportViewer1.BestFitPage is not used or if it is set to "True".
Cause
- The issue has been escalated for a fix.
- Current ETA: Service Pack 11 (December 2014 / January 2015)
Resolution
- Possible work-arounds:
- Set IE 11 to Compatibility mode for the application
- Change the positioning with css on the div tag with the scrollbar from absolute to relative:
.insetBorder
{
position: relative !important;
}
Keywords
scroll bar scrol crvs vr4vs iframe , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Bug Filed
Product
SAP Crystal Reports, developer version for Microsoft Visual Studio