Last Updated: 01 Nov 2023 11:23 by ADMIN
Release R3 2023 (LIB 2023.3.1101)
Created on: 22 Sep 2023 05:10
Category: PdfViewer
Type: Bug Report
RadPdfViewer - Blank view when resizing some pdf documents in FitFullPage mode
We are receiving Pdf files and for some we are experiencing the following problem when using the pdfViewer in FitFullPage mode : the pdf opens correctly but "disappears" when we resize the pdf viewer.
1 comment
Dess | Tech Support Engineer, Principal
Posted on: 22 Sep 2023 05:25

Hello, Fabrice,

Thank you for bringing this to our attention.

Currently, the possible solution that I can suggest is to detect when the viewer is resized and reload the problematic document. This approach seems to work on my end and the document is displayed properly. The following code snippet better illustrates the idea:

         this.radPdfViewer1.SizeChanged += RadPdfViewer1_SizeChanged;

        private void RadPdfViewer1_SizeChanged(object? sender, EventArgs e)
            radPdfViewer1.FitFullPage = false;
            radPdfViewer1.FitFullPage = true;

Please give this approach a try and see how it works on your end.

Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.