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 Server not working on mobile or dev mode

We are using the PDF viewer inside a SfDialog. This works fine except on a mobile device. On a mobile device the PDF viewer is shown empty and there are no errors or logs

the same happens when running on desktop browser in dev mode but only if the browser is refreshed while in dev mode. so if the browser starts and then you switch to dev mode it works. refresh browser while in dev mode now it doesnt. close dev mode  and refresh browser and it works again

again no errors it just doesnt s

3 Replies

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team February 23, 2023 10:15 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 and also we have shared the video recording for your reference.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorPdfViewerInsideADialog1879458065.zip

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorPdfViewerInsideADialogVideo-1415160491.zip

Try this sample and revert to us with the following details, if you have any concerns on this. This will be helpful for us to analyze further and provide the details.

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

MS Michael Salzlechner February 23, 2023 11:22 AM UTC

will try to create a sample. Possibly the difference is that we are loading the PDF from a database into a byte array and then load that into the PDF viewer

VV Visvesvar Venkatesan Syncfusion Team February 27, 2023 04:48 AM UTC

Kindly create a sample and provide it to us. we will check and update the details.

Live Chat Icon For mobile
Up arrow icon