PDF Viewer not working with Blazor Web Assembly

Hi Team,

I am trying to use PDF Viewer with Blazor WebAssembly. After providing the DocumentPath to PDFViewer it keeps on loading the pdf but no success.
Please suggest how to use this control with Blazor WebAssembly? Or PLease suggest any link for the same.

Waiting for your reply. It is very critical for us to choose the any UI tool that support.
Thanks

7 Replies 1 reply marked as answer

AA Akshaya Arivoli Syncfusion Team July 1, 2020 12:00 PM UTC

Hi Sachin, 

Thank you for contacting Syncfusion support. 

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


Note:  We need to provide the document available in the web service project in the documentPath API if the online serviceUrl is provided. For local serviceUrl we need to place the document in the web service project and provide that URL. 


Please try it and revert us with the modified sample, replication procedure if you are still facing the issue. These details will be helpful for us to investigate further and assist you better. 

Regards, 
Akshaya 



SK sachin kumar July 1, 2020 02:35 PM UTC

Hi Akshaya,

I was actually having issue with Blazor Webassembly, but the solution you shared is for Blazor Server.
Not able to use PDF Viewer with WebAssembly. Please suggest if any solution available.

Regards,
Sachin 


AA Akshaya Arivoli Syncfusion Team July 2, 2020 09:16 AM UTC

Hi Sachin, 

Thank you for your update. 

We have created the PDF Viewer Client Side Blazor and shared the same in the below link, 
 

As mentioned earlier, If the online web service URL is provided then the document need to be available in that location.(we have only certain documents in our web service project). So, you can please create PDF Viewer web service project locally and place the documents. Also we can load the PDF documents using the upload option and load() API available in PDF Viewer. 
 
Please try it still if you are facing the issue, revert us with the modified sample and the PDF document. These details will be helpful for us to investigate further and assist you better. 

Regards, 
Akshaya 



SK sachin kumar July 3, 2020 05:41 PM UTC

Thanks Akshaya,

I am able to run now most of the functionality with pdf  viewer in webassembly project. But I am facing an issue when I want to use sticy notes(comment), it is not working. After checking the console I found some error on synfusion library. Please find the attached file with error copied in it.

I would be thankful for your support.

Regards,
Sachin Kumar

Attachment: SyncFusionError_WebAssembly_c79dfeac.zip


AA Akshaya Arivoli Syncfusion Team July 6, 2020 12:56 PM UTC

Hi Sachin, 

Thank you for your update. 

We can reproduce the reported issue with the provided details and suspect this to be defect. We will analyze further on it and update you with more details on July 8th, 2020. 

Regards, 
Akshaya 



SM Selvakumar Murugan Syncfusion Team July 8, 2020 04:10 PM UTC

Hi Sachin,

We have Confirmed that the " Exception occurs while clear the annotation selection in PDF Viewer web assembly  sample" is a defect and logged the defect report for the same. The fix for the issue will be included in our weekly nuget release on  22nd  July  2020. You can track the status using the below link

Feedback Link:  
https://www.syncfusion.com/feedback/15892/exception-occurs-while-clear-the-annotation-selection 
Regards,
Selvakumar
 



MS Mohan Selvaraj Syncfusion Team July 22, 2020 04:40 PM UTC


Marked as answer
Loader.
Up arrow icon