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.
Syncfusion Feedback

How to load PDF document from database into PDF viewer

PDF viewer supports to load the PDF document from database using the load() API. Refer to the following code.

HTML:

 

JS:

 

 

C#:

 

Sample:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/PdfViewerWeb_LoadFromDB-23672309

In the previously mentioned sample, input field will be available to provide the PDF document name and Load button is provided to load the required PDF document in PDF viewer.

 

Note:

Modify the web action methods in the API controller as per your entries in database. Also, modify the connection string of the database in the web.config file.    

 

Article ID: Published Date: Last Revised Date: Platform: Control:
9199 08/21/2018 08/23/2018 ASP.NET MVC PdfViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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