- Home
- Forum
- ASP.NET Web Forms (Classic)
- Problems Sample Project
Problems Sample Project
Hi,
Attachment: pdfViewer_f2898f9a.zip
I try to use the PDF Viewer in one of our projects and wanted to test it in a simple example.
I loaded an example project from "https://help.syncfusion.com/aspnet/pdfviewer/gettingstarted" and stripped it down as far as possible.
Simply the Default.aspx, the Global.asax and the PdfViewerController are used and it works.
After this i wanted to reproduce this in my own project but it wont work ...
In the attachement is the example from your Homepage (PdfViewer) which works and the example i tryed to reproduce (PdfViewerSyncfusion) which doesnt work.
Can u give me a hint, why the PdfViewerSyncfusion-Solution doesnt work? My problem is, that the he never enters the Load-Method in the PdfViewerController, and i have no clue why.
Thanks for ur help.
Matthias
Attachment: pdfViewer_f2898f9a.zip
SIGN IN To post a reply.
3 Replies
AA
Akshaya Arivoli
Syncfusion Team
March 19, 2020 09:23 AM UTC
Hi Matthias ,
Thank you for contacting Syncfusion support.
We have analyzed the provided sample and found that the “Mixed Content” script error is thrown, so the PDF Viewer control is not rendered. We can resolve this error by accessing the site using HTTPS to have a secured experience. Please find the code snippet form the below,
|
<head runat="server">
<title>PDF viewer</title>
<link rel='nofollow' href="https://cdn.syncfusion.com/16.4.0.42/js/web/flat-azure/ej.web.all.min.css" rel="stylesheet" />
</head> |
We have modified the provided sample and shared the same in the below link,
Note: Kindly use CSS, Scripts and server-side packages of same version in your project.
Please try it and revert us with more details if you have any concerns on this.
Regards,
Akshaya
MW
Matthias Wagner
March 19, 2020 10:19 AM UTC
Thank you very much, it works :-)
Best regards
Matthias
AA
Akshaya Arivoli
Syncfusion Team
March 19, 2020 10:48 AM UTC
Hi Matthias ,
We are glad to know that the reported issue was resolved. Please revert us if you have any other concerns. We are always happy to assist you.
Regards,
Akshaya
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
MW Matthias Wagner
- Mar 18, 2020 02:08 PM UTC
- Mar 19, 2020 10:48 AM UTC