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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Syncfusion Feedback

Viewing PDF documents available in the FileExplorer control using PDF viewer control

Platform: jQuery |
Control: ejPdfViewer

You can open a PDF document in the PDF viewer control while clicking the PDF document from the FileExplorer control using its Select event. Include the following code snippet in the Select client-side event of the File Explorer control. 

 

 

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample-1039137741

In the above sample, FileExplorer control is provided with PDF documents. When you select a PDF document, it will open in new window using the PDF viewer control. 

Note: The document path provided to the FileExplorer and PDF viewer control in the web API controller should be same. 

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.

Up arrow icon

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

Live Chat Icon For mobile