Skip to content

Conversation

@SF4524LogeshKumar
Copy link
Collaborator

Description:
Sample on How to Load PDF to Server-Side PDF Viewer

Copy link
Collaborator

@rparthi-1687 rparthi-1687 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Uma-SF4267 In this sample we used the standalone mode and web API to retrieve the PDF from server so we don't need the PDF Viewer server rendering mode Web API implementation in the sample. Please remove it and also document editor controller is not required in this sample then remove it.

@SF4524LogeshKumar
Copy link
Collaborator Author

@rparthi-pdf Updated the Requested changes.

<br />
<div class="container">
<button onclick="LoadDocument()">LoadDocument</button>
<ejs-pdfviewer id="pdfviewer" style="height:641px" documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"></ejs-pdfviewer>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SF4524LogeshKumar - Can you confirm whether without providing the resource URL the sample will works?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rparthi-pdf -The sample works without providing resource URL.

@rparthi-1687 rparthi-1687 merged commit e08833d into master Feb 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants