SAP Knowledge Base Article - Public

2070958 - CSS is no longer available for reports while viewing report using CR.Net SDK.

Symptom

CSS is no longer available for reports while viewing report using CR.Net SDK.

Environment

  • SAP Crystal Reports for developers version of visual studio 2010 SP 10
  • Microsoft Visual Studio 2010\2012\2013
  • Web application.

Reproducing the Issue

  1. Create a new web application.
  2. add a code of view report using cr.net sdk to the default.aspx.cs page.
  3. Add the report CSSreport to the project-Add the CSS style sheet report.css to the project.
  4. Goto mark-up page of default.aspx(source page)
    Add below tag in the <head> tag
    <head runat="server">
     <link href="~/Reports.css" rel="stylesheet" type="text/css" />(this line)
        <title></title>
    </head>
  5. Open the report in the designer view then right click on the field (on which css class applied) check if the CSS class name is set to DetailField if not set it.
  6. Run the application

Resolution

The issue has been identified as a bug and has been released in Service Pack 13 for Crystal Reports for Visual Studio

Keywords

CSS; cr.net sdk; css with SDK; CR4VS 2010; CSS with VS 2010 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio