Spire.PDFViewer is a powerful PDF Viewer component for .NET. It allows developers to load PDF document from stream, file and byte array.

Mon Jul 23, 2018 8:59 am

Sir,

I have installed Spire.Office for .NET through NuGet Package. I am planning to buy the product, So I am testing how far it serves my requirement and i found very useful.

One of my requirements is Pdf viewer in ASP.NET web pages. It is throwing script error 'pdfviewer1.Initialize()' while page loads

Spire.Pdf.ASP.dll is missing on NuGet installation

pdf_viewer_error.png


Please help me with solution

Thanks & Regards
Ragesh MK

ragesh
 
Posts: 4
Joined: Mon Jul 23, 2018 7:34 am

Mon Jul 23, 2018 10:28 am

Hello Ragesh MK,

Thank you for your post.
Please make sure that you have referenced the "Spire.Pdf.ASP.dll" and dragged the control to the page designer.
I have made a sample demo for you. Please download from the below link.
https://www.e-iceblue.com/downloads/attachment/14469Demo.zip

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon Jul 23, 2018 11:02 am

Thank you very much for the reply
It worked

Thanks & Regards
Ragesh MK

ragesh
 
Posts: 4
Joined: Mon Jul 23, 2018 7:34 am

Tue Jul 24, 2018 1:24 am

Hello Ragesh MK,

Glad to hear that.
Just feel free to contact us if you need any assistance.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDFViewer