We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

PDF viewer not working Blazor WebAssembly 7

I have using   blazor/20.3.57 asp.net core 

Dear Team,

Same code working  blazor 6 but 7 not working.Kindly help me.

PdfViewer not showing page .

@using Syncfusion.Blazor.PdfViewer

<SfPdfViewer DocumentPath="PDF_Succinctly.pdf" ServiceUrl="https://ej2services.syncfusion.com/production/web-services/api/pdfviewer"

  Height="500px" Width="500"></SfPdfViewer>


index.html

<head>

 <link rel='nofollow' href="https://cdn.syncfusion.com/blazor/20.3.57/styles/bootstrap4.css" rel="stylesheet" />

    <link rel='nofollow' href="https://cdn.syncfusion.com/blazor/20.3.57/styles/bootstrap5.css" rel="stylesheet" />

    <link rel='nofollow' href="https://cdn.syncfusion.com/blazor/20.3.57/styles/material.css" rel="stylesheet" />

    <link rel="stylesheet" type="text/css" rel='nofollow' href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

    <script src="https://cdn.syncfusion.com/blazor/20.3.57/syncfusion-blazor.min.js" type="text/javascript"></script>

    <script src="https://cdn.syncfusion.com/blazor/20.3.57/syncfusion-blazor-pdfviewer.min.js" type="text/javascript"></script>

    <script src="https://cdn.syncfusion.com/blazor/20.3.57/syncfusion-blazor-documenteditor.min.js" type="text/javascript"></script>

</head>


1 Reply

VV Visvesvar Venkatesan Syncfusion Team December 29, 2022 01:56 AM UTC

We were 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,

 

Sample - https://www.syncfusion.com/downloads/support/directtrac/general/ze/LOAD_Sample-blazor.net_7_2037284252.zip

 

The sample we have provided is able to open pages in both .net6 and .net7. We have attached the loading image for reference.

 

 

Try this sample and revert to us with the following details, if you have any concerns about on this.  


  • Modified sample or share the sample in which the issue is reproduced.
  • Code snippet
  • Replicate procedure

 

This will be helpful for us to analyze further and provide the details.

 


Loader.
Live Chat Icon For mobile
Up arrow icon