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

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

Platform: JavaScript |
Control: ejPdfViewer |
Published Date: May 8, 2018 |
Last Revised Date: May 8, 2018

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. 

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