RDL client-side (local) reporting on .NET 4.0?

有些话、适合烂在心里 提交于 2019-12-12 07:23:23

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/3355701/rdl-client-side-local-reporting-on-net-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!