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?
Resolved the issue. Fields from the upgraded reports that had the CssClass field set would appear unformatted. Removing the CssClass fixed the formatting.
精彩评论