.NET 4.0 上的 RDL 客户端(本地)报告?
我刚刚偶然发现了 VS2010 RDL 报表设计器的“升级或死亡”对抗。在我毁掉一台完美的显示器之前,我决定深吸一口气,平静地询问是否有人可以给我有关 RDL 客户端报告的真实情况。我看到有人说用RDL 2008做不到。这是真的吗?如果是的话,是微软故意将其所谓的合作伙伴埋在地下,还是有什么阴谋?少一些险恶的解释?
I just stumbled across the VS2010 "upgrade or die" confrontation for the RDL report designer. Before I destroy a perfectly good monitor, I decided to take a deep breath and calmly ask if anyone can give me the real scoop on what is going on with RDL client-side reporting. I've seen it said that it can't be done with RDL 2008. Is this true, and if so, is it a deliberate attempt on the part of Microsoft to put its so-called partners in the ground, or is there a less sinister explanation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
新的 ReportViewer 比旧的(Tablix、RichText)有一些很好的优点,设计器还不错,但是有一个大错误,MS 似乎无法修复它:不再可能导航到子对象表达内。
如果您使用业务对象,您可能最好等待升级。否则,您会发现自己编写了大量包装器代码或使用不必要的代码扩展您的业务对象。问题描述可以在这里找到:
https://connect.microsoft.com/VisualStudio/feedback/details/553592/accessing-nested-objects-in-data-source-of-local-report-does- not-function
这篇文章向您展示了问题:
rdlc 中的子对象(Studio 2010RC)
还有一些其他问题,但大多数都是可以解决的:
http://msmvps.com/blogs/bill/archive/2010/04/19/upgrading-report-applications-to-4-0.aspx,
ReportViewer 2010 与多态性作斗争
正如您在问题中所写,ReportViewer 2010 有一种新格式(V3,2008)。因此,您需要 ReportViewer Redistributable (2010) 适合您的客户。
更新
这篇文章解释了上述导航问题的原因。
The new ReportViewer has some fine advantages over the old one (Tablix, RichText), the designer is not bad, but there is a big bug in and MS seems not to be capable to fix it: It's no more possible to navigate to child objects within expression.
If you use business objects you will probably better wait upgrading. Else you will find yourself writing a lot of wrapper code or extendind your business-objects with unnecessary code. The problem description can be found here:
https://connect.microsoft.com/VisualStudio/feedback/details/553592/accessing-nested-objects-in-data-source-of-local-report-does-not-function
This post shows you the problem:
child objects in rdlc (Studio 2010RC)
There are also some other issues but most of them are solvable:
http://msmvps.com/blogs/bill/archive/2010/04/19/upgrading-report-applications-to-4-0.aspx,
ReportViewer 2010 struggling with polymorphism
As you wrote in your question, ReportViewer 2010 has a new format (V3, 2008). Therefore you need the ReportViewer Redistributable (2010) for your clients.
Update
This post explains the reason of the navigation problem mentioned above.