1535833 - Field data overlaps the adjacent field in a Crystal Reports .NET web application

SAP Knowledge Base Article - Public

1535833 - Field data overlaps the adjacent field in a Crystal Reports .NET web application

Symptom

  • Field data overlaps the adjacent field to the right.
  • Viewing a Crystal Report in the .NET CrystalReportViewer for the web.

overlap field.png

Environment

  • Crystal Reports XI R2
  • Crystal Reports 2008
  • Crystal Reports for Visual Studio 2010

Reproducing the Issue

  1. Add a field to a Crystal Report, then re-size the field such that the width is much smaller than the data to be displayed.
  2. Place another field directly to the right of the first field.
  3. View the report in the CrystalReportViewer for the web.
  4. The first field will overlap/bleed into the next field.

Cause

  • The default behavior for the Crystal Report web form viewer is to not hide or clip data.
  • The issue has been identified and logged under Problem Report ID ADAPT01390812.

Resolution

  • This issue is resolved in Crystal Reports for Visual Studio 2010 through a configuration setting in the web.config file.
  • Add the following configuration settings to the first child of <configuration> in your web.config file.
  • Look at the attached file for a functional web.config file. 
Note

This issue is resolved in Crystal Reports for Visual Studio 2010. It has not be resolved for any older version, such as Crystal Reports 2008 or Crystal Reports XI R2. At this time there are no plans to fix this issue for older versions of Crystal Reports.

It is recommended you use the Can Grow feature for field data instead of the EnableTextClipping. Users may not realize that data is missing in the report.

<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="EnableTextClipping" value="true"/>
</crystalReportViewer>
</crystalReports>
</businessObjects>

Keywords

text data over lap overlap bleed overrun cover webform ADAPT01260629 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2 ; SAP Crystal Reports, developer version for Microsoft Visual Studio

Attachments

web.zip