使用 asp.net 查看器的水晶报表/vs2010 显示问题
从VS2008升级到VS2010,我的水晶报表在导出为PDF时看起来是一样的,但是当使用ASP.NET CrystalReportViewer查看时,字段的格式丢失了。
查看报告的 html 源表明它定义了一堆看起来像报告中使用的样式的样式,但它们从未分配给字段。对于使用旧版本创建的报告以及使用 2010 年创建的新报告来说都是如此。
关于原因以及如何解决的任何想法?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决了问题。具有 CssClass 字段集的升级报告中的字段将显示为未格式化。删除 CssClass 修复了格式。
Resolved the issue. Fields from the upgraded reports that had the CssClass field set would appear unformatted. Removing the CssClass fixed the formatting.