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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Saving the PDF document in the server side using PDF viewer control

Platform: JavaScript |
Control: ejPdfViewer |
Published Date: April 18, 2018 |
Last Revised Date: April 18, 2018

 

You can save the form fields, signatures, and annotations to the PDF document on the server side of the PDF viewer control using the download() API in the button click. For this, modify the Download web action method in the web API controller of the PDF viewer control. Following is the server-side code snippet for the Download action method of the API controller. 

 

Note: You can create your own web action method in the Web API controller using the severActionSettings API in which you can include the code for saving the PDF document in server side as provided in the code snippet.

Client-side code for saving the PDF document

 

In the following sample clicking ‘Save PDF Document’ button and Download icon in the PDF Viewer toolbar will save the PDF document in server side:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/PdfViewerSampleBrowser-1889846161

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon