PDFViewer toolbar customization bug
Hi,
I'm revisiting a older application that used version 26.1.40 of the sfPdfViewer component.
After updating to the newest version 31.1.19 the SdPdfviewer2 component toolbars are bugged, it renders out alot more toolbars that i can't seem to hide. Also when interacting with the component the original toolbar also disapears. Can you tell me what is happening?
See screenshot for how the component toolbars are rendered.
The code to render the component hasn't changed:
<SfPdfViewer2 @ref="pdfViewer" EnableChunkMessages="true" EnableToolbar="true" EnableBookmarkPanel="false" EnableNavigationToolbar="false" DocumentPath="@documentPath">
<PdfViewerToolbarSettings ToolbarItems="PdfViewerTools.ToolbarItems"></PdfViewerToolbarSettings>
</SfPdfViewer2>
public static List<ToolbarItem> ToolbarItems => new List<ToolbarItem>()
{
ToolbarItem.PageNavigationTool,
ToolbarItem.MagnificationTool,
ToolbarItem.SelectionTool,
ToolbarItem.PanTool,
ToolbarItem.SearchOption,
ToolbarItem.PrintOption,
ToolbarItem.DownloadOption
};
Also, for the translation team:
'Close' should say 'Sluiten' in dutch, instead of 'Dichtbij' ;)
|
I'm revisiting a older application that used version 26.1.40 of the sfPdfViewer component. After updating to the newest version 31.1.19 the SdPdfviewer2 component toolbars are bugged, it renders out alot more toolbars that i can't seem to hide. Also when interacting with the component the original toolbar also disapears. Can you tell me what is happening? See screenshot for how the component toolbars are rendered. |
Thank you for the update. The issue with toolbar disorganization after upgrading the PDF Viewer may occur if the themes and styles for the PDF Viewer are not correctly referenced. Could you please confirm whether you have also updated the Syncfusion.Blazor.Themes package to match the version of the Blazor PDF Viewer?
Additionally, please share the code snippet showing how you have referenced the themes and styles for the PDF Viewer. For example, have you used a reference similar to the following?
index.html
<!-- Syncfusion Blazor PDF Viewer control's theme style sheet --> <link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" /> <!-- Syncfusion Blazor PDF Viewer control's scripts --> <script src="_content/Syncfusion.Blazor.SfPdfViewer/scripts/syncfusion-blazor-sfpdfviewer.min.js" type="text/javascript"></script>
To help us verify the versions you are using, please provide the project file (.csproj). This issue can often be resolved by clearing the bin and obj folders of the project, as well as clearing the NuGet cache and browser cache.
|
|
Also, for the translation team:
'Close' should say 'Sluiten' in dutch, instead of 'Dichtbij' ;) |
Thank you for the update. We will review this correction with our development team and share additional details based on their feedback by September 18, 2025 |
Regards,
Venkada Subramanian D
Attachment: WASMNet9_c62dffd2.zip
Hi Ferry Koolen,
Thank
you for your patience. We will review and incorporate the necessary changes for localization in
the Volume 3 SP 2025 release. We appreciate your understanding in the meantime.
Regards,
Venkada Subramanian D
Hi Ferry Koolen,
We are glad to
announce that our Essential Studio® 2025 Volume 3 SP 1 Release v31.2.2
is rolled out and is available for download under the following link.
Essential Studio® 2025 Volume ... | Announcements Forums | Syncfusion®
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you require any further assistance.
We have applied the necessary corrections for the 'PdfViewer_Close' key in the Dutch language. Please check the updated version to verify the changes.
Feel free to reach out if you need any further assistance.
Regards,
Venkada Subramanian D
- 4 Replies
- 2 Participants
-
FK Ferry Koolen
- Sep 15, 2025 09:45 AM UTC
- Oct 16, 2025 01:25 PM UTC