views:

237

answers:

1

I have a button on my page and 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?

A: 

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.

Pinu