We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to download PDF using Ajax Call

You can’t perform a file download with Ajax directly. You can request a file using Ajax, but your Ajax response will contain the actual file stream. Due to JavaScript limitations, you won’t be able to save the stream on the user’s machine with a file download dialog. As a work around, we can save the pdf document in the disk and then load the document in iframe to download it.

Sample Link:




Article ID: Published Date: Last Revised Date: Platform: Control:
4975 05/23/2015 07/17/2018 Windows Forms PDF
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.