开发者

printing client side crystal report

开发者 https://www.devze.com 2023-03-25 20:03 出处:网络
I am doing a web application in .net with crystal report, is there a way to print crystal report on client side an开发者_Python百科d do some server side treatement

I am doing a web application in .net with crystal report, is there a way to print crystal report on client side an开发者_Python百科d do some server side treatement i'm using c#, asp.net (.net 2)?

thanks in advance


if you use the CrystalReportViewer control in your ASP.NET page then you can PrintToPrinter on that control... and print on client side...

Another option is create a PDF from the report and stream the PDF to client... the clients' PDF viewer will allow them to print...

IF neither of the above is an option in your case then you call some javascript function window.print() in your web page then the browser shows the printer dialog to the user...

0

精彩评论

暂无评论...
验证码 换一张
取 消