是否可以为 RDLC 报告创建包含页码的目录?
我有一个相当大的报告,正在尝试在 Visual Studio 2008 中创建为 RDLC。我计划将几个部分创建为子报告,然后将它们全部编译到主 RDLC 中。 然而,我的客户的要求之一是它有一个目录,其中页码指示在哪里可以找到报告的各个部分。 我还没有找到一种方法来构建一个目录,该目录将从报告的各个部分动态提取页码。 我不确定如何以编程方式完成它,因为在生成报告之前您没有页码信息,此时您似乎必须提出一个在 RDLC 内部实现的解决方案。
I have a fairly large report I'm trying to create as an RDLC in Visual Studio 2008. There are several sections that I plan to create as subreports and then compile them all into a master RDLC. However, one of my client's requirements is that it have a table of contents with page numbers indicating where to find the various sections of the report. I have yet to find a way to construct a table of contents that will dynamically pull page numbers from the various sections of the report. And I'm not sure how it could be done programmatically because you don't have page number information until you generate the report, at which point it seems you would have to come up with a solution that is implemented internal to the RDLC.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
真是个好主意! 您可能需要查看 Aspose 产品,因为它们提供了 SSRS 的扩展。 我不确定,但它们可能都是特定于服务器端的,但值得一看。 特别是他们有一套可以将报告输出到 Word 的产品。 那里可能有一些东西可供你使用。
What a great idea! You may want to look at the Aspose products, as they offer extensions to SSRS. I'm not sure but they may all be specific to the server side, but it's worth a look. In particular they have a suite of products that will output reports to Word. There might be something for you to use there.