开发者

ASP.NET MVC Print file

I have a button on my page an开发者_如何学Cd when the user clicks that,they should be able to print the document. the user sees the image format of the pdf file in the gallery view. How should I handle the print for this document?


i did this by using jquery.click function on click of print button it fires a window.open(here i called the asp.net webform page) which in the code behind sets the response.contenttype to pdf and then the pdf document opens with the print dialog open.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜