Data Binding is slow for pdf viewer

Hi 

I am using ES5 - pdf viewer. it takes more that 2 secs to execute the below mentioned code. I have uploaded just a 2 page simple pdf document.

 I am initializing the viewer like this

var pdfviewer = new ej.pdfviewer.PdfViewer({

                            documentPath: SFDT.value, // base64 string

                            serviceUrl: pdfServiceUrl

 });

 pdfviewer.appendTo('#pdfViewer');


I attached the file I am using for upload.



Attachment: sample_b38979a3.zip

1 Reply

AC ArunKumar Chandrakesan Syncfusion Team September 28, 2022 02:08 PM UTC

Hi Murali,


We were unable to reproduce the reported issue with the provided details. We have shared the video replication and sample in which we have tried to reproduce the issue in the below link,

Video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Load1937095991.zip

Stack blitz: https://stackblitz.com/edit/oebpfp?file=index.js,index.html

Web services: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Web_Service_Latest1242086074.zip

Step to follow:


  1. Run the web services first.
  2. Copy the created URL
  3. Place the URL in the service URL field of the stack blitz.



Kindly try this and revert to us with the modified sample, code snippet, replication procedure and more details about the reported issue if you have any concerns. This will be helpful for us to analyze further and provide the details.


Note: Kindly upgrade your version to the latest one and for your reference, we have shared the package links


Packages:   

Service side package

ASP.NET Core :      

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows/ 

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Linux/       

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.OSX/      

       

ASP.NET MVC:      

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Mvc5/      

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Mvc4/


   

CDN links:

https://cdn.syncfusion.com/ej2/20.2.50/dist/ej2.min.js

https://cdn.syncfusion.com/ej2/20.2.50/material.css




Regards,

Arun kumar


Loader.
Up arrow icon