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

PDF Viewer not displaying

Hi, PDF Viewer for .Net core not displaying. I am getting a script error. please advice what am I missing

I add the reference to CSS and Scripts on the head section:

<link rel="stylesheet" rel='nofollow' href="https://cdn.syncfusion.com/ej2/20.4.38/fluent.css" />

<script src="https://cdn.syncfusion.com/ej2/20.4.38/dist/ej2.min.js"></script>


Add before </body>

<ejs-scripts></ejs-scripts>

Error:




1 Reply

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team January 5, 2023 02:15 PM UTC

We have tried to reproduce the reported issue but it is not reproducing on our end. You can get the PDF Viewer instance on the window.onload function. We have shared the sample in which we have tried to reproduce the issue in the below link,


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/WindowOnLoad164567191.zip


Try this sample and revert to us with the modified sample, if you have any concerns on this.



Loader.
Live Chat Icon For mobile
Up arrow icon