bzuit

ReportViewer不能打印,在官网上找了一点说要从写一个方法。具体如下

1 <script type="text/javascript">
2
3 ReportViewer.prototype.PrintReport = function() {
4
5 this.PrintAs("Default");
6 }

 

加上这段代码打印就可以实现了(机器连接打印机)。期待解决不能导出pdf。

分类:

技术点:

相关文章:

  • 2021-06-10
  • 2021-11-20
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2021-07-14
  • 2022-12-23
猜你喜欢
  • 2021-08-18
  • 2021-05-23
  • 2022-03-10
  • 2022-12-23
  • 2021-05-06
  • 2021-12-31
  • 2021-09-29
相关资源
相似解决方案