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. |
This page will automatically be redirected to the sign-in page in 10 seconds.