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

How to load the PDF file in PDF viewer using VB

The PDF document is loaded in the PDF viewer control using the load() method in client-side. The name, path, and base64 string of the PDF document is used to load the document. Refer to the following code.





  • If the name of the PDF document is only passed as a parameter in the load() method, the PDF document must be available in the folder specified in the Load action method in the controller.
  • If the path of the PDF document is passed as a parameter in load() method, the following code should be used in the Load action method in the controller. 


You can download the working sample from PdfViewerWeb.Zip.

By executing the program, you will get the output as follows.

Clicking the Load PDF document button will load the F# Succinctly.pdf document in PDF viewer.


Article ID: Published Date: Last Revised Date: Platform: Control:
9261 09/10/2018 09/11/2018 ASP.NET Web Forms PdfViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to 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