PDF Viewer not rendering correctly though printing and downloading with control toolbar look fine

SfPdfViewer2 seems to be repeating pdf file data in viewer.  Please see the attached PDF sample and screen shot of the viewer.  This is happening in multiple browsers.  No other code than the component.  The razor code is:


<SfPdfViewer2 DownloadFileName="sample.pdf" DocumentPath="sample.pdf" />


Attachment: samplepdf_6b349b20.zip

3 Replies

VV Visvesvar Venkatesan Syncfusion Team July 21, 2023 06:47 PM UTC

We successfully loaded, printed, and downloaded the provided document without encountering any problems. To support this statement, we have included a sample and video as attachments. However, based on our observations, we suspect that there might be a defect in the creation of the original sample. As a recommendation, we encourage you to test the sample we provided to verify the issue.


Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/PRINTN~1-754627170.zip


Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/Project_(1)1286772988.zip


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


  • Modified sample or share the sample in which the issue is reproduced.
  • Code snippet
  • Replicate procedure
  • Conform the client and server-side packages are the latest one


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



BR Brian August 22, 2023 01:15 PM UTC

Thank you.  After a lot of trial and error, I was able to determine that the issue was caused by a theme file that was generated from the Syncfusion Theme Studio.   I'm guessing theme studio is not quite compatible with the new pdf viewer.  When i switched back to the below css everything is fine:


    <link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />



VV Visvesvar Venkatesan Syncfusion Team August 25, 2023 05:50 AM UTC

Hi Brian,


"We're pleased to hear that the problem you reported has been resolved. Please don't hesitate to reach out if you have any further questions or concerns."


Loader.
Up arrow icon