创建自定义 SSRS 控件
是否可以为 Reporting Services 创建自定义第三方?
Dundas 图表控件就是一个例子,但是我不确定 SSRS 内部是否内置了对这些控件的支持。
Is it possible to create a custom third party for Reporting Services?
The Dundas chart controls are an example of this however I am unsure if support for these have been internally built into SSRS..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的。
咨询谷歌后,我发现 SSRS 有 CRI(自定义报告项目)。 这些可以通过实现 ICustomReportItem 接口(用于呈现)并继承 CustomReportItemDesigner 类(用于设计器)以 .NET 语言创建。 它们使用 Microsoft.ReportDesigner 和 Microsoft.ReportingServices.Interfaces 命名空间。
CRI 还存在一个限制,即最终输出必须是图像。 这将使任何交互变得非常困难。
有关详细信息,请参阅
使用 SQL Server Reporting Services 中的自定义报表项让您的数据更加生动
创建自定义报告项目
Yes.
After consulting google I've found that SSRS has CRIs (Custom Report Items). These can be created in a .NET language by implementing the ICustomReportItem interface (for the rendering) and inheriting from the CustomReportItemDesigner class (for the designer). These use the Microsoft.ReportDesigner and Microsoft.ReportingServices.Interfaces namespaces.
There is also a restriction in CRIs that the end output needs to be an image. This would make any interactivity very difficult.
For more information see
Jazz Up Your Data Using Custom Report Items In SQL Server Reporting Services
Creating a Custom Report Item
Dundas 控件具有 SSRS 的一些内部知识(尽管它们是使用公共 API 构建的)。 例如,他们使用反射解决了某些 SSRS CRI 限制 - 我发现默认情况下,在 SSRS 2008 CRI 中只能有一个钻槽操作 - Dundas 和其他供应商 (Nevron) 顺便解决了这一问题...
否则交互性将受到限制所有自定义报告的工具提示、URL 链接、书签和跳转到报告操作,并且图像输出仅为光栅。
The Dundas controls have some internal knowledge of SSRS (although they are build with the public API). For example they workaround certain SSRS CRI limitations using reflection - I found that by default in SSRS 2008 CRI can have only one drill trough action - something that Dundas and other vendors (Nevron) by the way workaround...
Otherwise interactivity will be limited to Tooltip, URL link, Bookmark and Jump to Report actions for all custom reports and the image output is only raster.