Using css-Files local

Hi,

in all of your examples regarding pdfviewer-Control you are including the .css-file with a path to your server.
(<link rel='nofollow' href="https://cdn.syncfusion.com/17.4.0.55/js/web/flat-azure/ej.web.all.min.css" rel="stylesheet" />)

In our software this isnt possible, so i want to keep the css-files local. I downloaded them and copied them to my project.

My questions are:

1. I downloaded the nuget-package for pdfviewer. Is there some nuget-package i can install to have all the css-files and perhaps js-files i need for the pdfviewer?
I didnt find some.
2. I manually downloaded the css-files from ur server. Problem now is, that i got errors, e.g. "waitingpopup.gif" is not found. 
This is found in the "ej.theme.min.css"-file under the url "url(images/waitingpopup.gif)" So he is looking now under localhost/images for the file and cant find it.

Is there a way to have your css-Files running under localhost using some nuget-packages or what would be the trick in this?

Thanks for your answer,
Best regards
Matthias

3 Replies

AA Akshaya Arivoli Syncfusion Team April 1, 2020 01:14 PM UTC

Hi Matthias , 

Thank you for contacting Syncfusion support. 

We can get the PDF Viewer overall minified Scripts(ej.web.all.min.js) and CSS(ej.web.all.min.css) files by installing the ‘Syncfusion.AspNet.PdfViewer’ in your project. We have also created sample for the same and shared in the below link, 


Please find the below link for more details, 


You can find the list of PDF Viewer dependencies from the below link, 


Regards, 
Akshaya 



MW Matthias Wagner April 2, 2020 07:57 AM UTC

Thank you very much. Works fine :-)


AA Akshaya Arivoli Syncfusion Team April 2, 2020 08:00 AM UTC

Hi Matthias,  

We are glad to hear the reported issue was resolved. Please revert us if you need any further assistance. We are always happy to assist you.  

Regards,  
Akshaya  


Loader.
Up arrow icon