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.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.