SfPdfViewer Blazor client side hangs with spinner with a large base64 PDF

Hi friends,

When I try to load a PDF using base64 data the viewer hangs showing the spinner forever.
I have attached a file containing then base64 string and some lines of code I´m using.

Thank you for your help!

Regards,

Fabio Marcos

Other information:
Blazor Client Side Project
Micrsoft Edge Browser
Syncfusion.blazor 18.2.0.59
Microsoft.aspnetcore.components.webassembly 5.0.0


Attachment: Files_f0d708ae.rar

3 Replies

VS Vasugi Sivajothi Syncfusion Team February 5, 2021 04:43 PM UTC

Hi Fabio, 
 
Thanks for contacting Syncfusion support. 
 
We were unable to reproduce the reported issue. We have created a sample for loading the document using the provided base64 data. Please refer to the below sample. 
 
 
 
Kindly try it and revert us with more details about your issue if you still have any concerns. 
 
 
Regards, 
Vasugi 



FM Fabio Marcos Euzebio February 6, 2021 12:21 AM UTC

Hi Vasugi,

Thank you for your answer but I´m afraid something is still wrong.

Your test application displays only a blank PDF page (image inside attached file) , but if you try the same base64 data using pdf.js script, the correct content is showed.

You can see the correct PDF file using webapplication attached

Regards,

Fábio

Attachment: PDF_Test_WebApplication1_e5f07589.rar


VS Vasugi Sivajothi Syncfusion Team February 8, 2021 11:11 AM UTC

Hi Fabio,  
 
Thanks for the update. 
 
We have created a new incident under your Direct Track account. We suggest you follow up with the incident for further updates. Please log in using the below link.  
 
Please let us know if you have any concern on this. 
 
Regards, 
Vasugi 


Loader.
Up arrow icon