I am using the code given in this link to watermark my documents.
Here the author has used
IHttpHandler to watermark document whenever a user clicks on a pdf document.
Whenever I click on a document link in the document library the document gets opened inside the browser with the watermark and stuff, instead of showing the default save or cancel dialog box. I don't want the document to get displayed inside the browser and then save it from there. I want to have the default save dialog box that usually appears when you click on document link. How can I do that?