I have a small component that uses Aspose.Words for .NET API to convert a Word to PDF document.
As explained in this example, I tried sending the converted document to the client browser. And I expected to see a little pop-up on the bottom of the screen that indicates the document is being downloaded to the client’s local disk. But instead, the document automatically opens itself up in the current browser, which is not a desirable outcome.
I looked at all other examples listed under the “Save a Document” section, but none of them seems to yield the required result. Is there a way I can just force a PDF document to be downloaded to the client browser when the ‘Save’ method is invoked?
Oddly enough, I didn’t find out about this in Aspose support site, but I had to search for it online. Unless, of course, I missed it in the Aspose site.