富文本报告
我构建了一个 ASP.net Web 应用程序,它允许用户查看日历事件列表并做笔记。 这些注释在所见即所得编辑器中编辑,该编辑器输出为 HTML 文本(但也可以输出为 RTF),然后将其另存为 MSSQL05 数据库中的文本。
现在我必须向日历应用程序添加打印功能。 在此版本之前,打印是通过SSRS05完成的,但现在我添加了富文本注释,这种方法将不再起作用。
我可以在网络浏览器中以打印机友好的格式呈现整个日历,但我的用户有两个问题:首先,我无法关闭打印期间添加的页眉和页脚,而且用户有点太基本了解如何自行关闭它; 其次,当注释太长时,文本就会不太优雅地换行到下一页。 不幸的是,他们使用 IE7,因此无法识别 page-break-inside 属性,并且升级到 IE8 或使用其他浏览器是不可能的(我已经问过:P)
因此有了这些信息,最好的方法是什么生成具有富文本功能的报告?
I've built an ASP.net web application which allows the users to view and make notes on a list of calendar events. The notes are edited in a WYSIWYG editor that outputs to HTML text (but could also output to RTF), which is then saved as text in an MSSQL05 database.
Now I've got to add a printing function to the calendar application. Prior to this version, the printing was done through SSRS05, but now that I've added rich text notes, this method will no longer work.
I can render the whole calendar in a printer-friendly format in the web browser, but my users have two issues with that: first, I can't turn off the header and footer added during the print, and the users are a little too basic to understand how to turn it off themselves; and second, when a note gets too long, the text gets wrapped not-too-gracefully to the next page. Unfortunately, they use IE7, so the page-break-inside attribute isn't recognized, and upgrading to IE8 or using a different browser is out of the question (I already asked :P)
So with that information, what's the best way to generate a report which features rich text?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议 DataDynamics ActiveReports。 非常强大,领先光年水晶。 试一试!
I suggest DataDynamics ActiveReports. Very powerful, lightyears ahead Crystal. Give it a try!