打印多个 Telerik 报告?

发布于 2024-10-10 09:17:36 字数 219 浏览 0 评论 0原文

我目前有一个 ASP.Net/C# 系统,允许用户在数据库中为员工动态创建/导出 (PDF) Telerik 报告。用户可以选择从员工列表中选择要导出的员工,或全部导出。

Telerik 报告查看器当前有一个指定的“打印”按钮,但我希​​望用户能够在选择时或单击“打印所有报告”按钮时打印多个报告。

有没有办法以编程方式打印多个动态 Telerik 报告? (如果可能的话,提供打印预览?)

I currently have an ASP.Net/C# system which allows the User to Dynamically Create/Export (PDF) Telerik Reports for Employees in the database. The User is given the choice to Select from a list of Employee's to Export, or to Export them all.

The Telerik Report Viewer currently has a designated "Print" button, but I would like to give the Users the ability to Print Multiple Reports when Selected, or when the "Print All Reports" button is clicked.

Is there a way to proggramatically Print Multiple Dynamic Telerik Reports? (and give a Print Preview if possible?)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

千寻… 2024-10-17 09:17:36

抱歉重复发帖,但我最终自己解决了这个简单的问题。

使用我已经为报告的 PDF 导出编写的方法,我循环遍历并将每个报告添加到 "ReportBook"。然后,我在页面上已有的 ReportViewer 中显示了 ReportBook。

这给了我一直在寻找的“打印预览”方面,以及打印多个报告的能力。

我想我会分享以供将来参考

最好的祝福

Sorry for the double-post, but I ended up solving this simple question on my own.

Using the Methods I had already written for the PDF export of the Reports, I looped through and added each Report to a "ReportBook". I then displayed the ReportBook in the ReportViewer I already had on my page.

This gave me the "Print Preview" aspect I was looking for, and the ability to Print Multiple Reports.

Thought I'd share for future reference

Best Regards

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文