Question

Upgraded from VS2008 to VS2010, my crystal reports look the same when exported as PDF, but when viewed with the ASP.NET CrystalReportViewer, the formatting of the fields is missing.

Viewing the html source for the report shows that it's defining a bunch of styles that look like the ones used within the report, but they're never assigned to the fields. This is true of reports that were created with the older version, and with new reports created with 2010.

Any ideas on why and how to fix?

Was it helpful?

Solution

Resolved the issue. Fields from the upgraded reports that had the CssClass field set would appear unformatted. Removing the CssClass fixed the formatting.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top