Completed
Last Updated: 02 Oct 2024 14:00 by ADMIN

Open the PDF Viewer component online demo and click the download button:

Expected - the PDF must be downloaded.

Current - the file is not downloaded.

Unplanned
Last Updated: 03 Sep 2024 09:19 by René
Created by: Miroslav
Comments: 1
Category: PDFViewer
Type: Feature Request
25
Hello,

we have a bookmark structure with page numbers associated with a PDF and user can navigate throught this structure and jump to particular pages - therefore we need to set the current page of PDF Viewer programmatically.  

Moreover we need to know the count of pages of the viewed PDF file. This can be gotten by using PDF processing API, but it is a bit inconvenient to open the PDF file twice just for this purpose especially in case of big PDF files.

Very thanks,

Miroslav
Unplanned
Last Updated: 15 Dec 2024 19:29 by Marc
Created by: Nicolas
Comments: 4
Category: PDFViewer
Type: Feature Request
30
I would like to be able to control the default zoom level in the PDF viewer. For example, I would like to be able to set it as "Fit to Page". 
Unplanned
Last Updated: 19 Mar 2025 11:28 by ADMIN

Please expose a parameter to show or hide the "Select files..." button inside the empty PDF Viewer.

Currently, a possible workaround is to use CSS. Additionally, you may configure the Toolbar to not include the "Open" tool.

<style>
    .no-open .k-blank-page {
        display: none;
    }

    /* Use these selectors if you want to separately target the upload or the dropzone */
    /* .no-open .k-external-dropzone,
    .no-open .k-upload{
        display: none;
    } */
</style>

<TelerikPdfViewer Data="@PdfSource"
                  OnOpen="@OnPdfOpen"
                  Height="600px"
                  Class="no-open">
    <PdfViewerToolBar>
        <PdfViewerToolBarDownloadTool />
        <PdfViewerToolBarPrintTool />

        <PdfViewerToolBarSpacer />

        <PdfViewerToolBarPagerTool />

        <PdfViewerToolBarSpacer />

        <PdfViewerToolBarZoomTool />
        <PdfViewerToolBarSelectionTool />
        <PdfViewerToolBarSearchTool />
        <PdfViewerToolBarAnnotationsTool />
    </PdfViewerToolBar>
</TelerikPdfViewer>

@code {
    private byte[] PdfSource { get; set; }

    private bool LoaderVisible { get; set; }

    private async Task OnPdfOpen(PdfViewerOpenEventArgs args)
    {
        // Cancel the event for additional precaution in case someone bypasses the CSS and forces the page to show the button and the dropzone.
        args.IsCancelled = true;
    }
}

Unplanned
Last Updated: 07 Dec 2022 14:51 by Helmut

Set the PdfViewer document (data) value to null. As a result, an endless loader will appear.

===

ADMIN EDIT

===

A possible workaround for the time being is to re-initialize the component after clearing the file: https://blazorrepl.telerik.com/cHYwQola24zzBOAd02.

Duplicated
Last Updated: 14 Sep 2023 08:20 by ADMIN

Pdf viewer should display form fields like Text fields, check boxes, etc and allow users to type in fields.  Also support form field calculations.

Once populated, allow client side save to a file blob so that the data could be posted to a server or really whatever the dev wanted to do with it.

Duplicated
Last Updated: 25 Oct 2022 14:48 by ADMIN
Created by: Jon
Comments: 0
Category: PDFViewer
Type: Feature Request
1

Nice job on Telerik, Kendo UI and Test Studio R3 2022!   I like the PDF Viewer UI Controls.  Question: Any plans to add annotations and comments to CLIENT-SIDE ONLY solution i.e. .NET Blazor MAUI libraries similar to this server-side only solution

Completed
Last Updated: 28 Nov 2024 09:41 by ADMIN
Release 7.0.0
Created by: Mir
Comments: 7
Category: PDFViewer
Type: Feature Request
20
Able to add/edit/view Annotations to the pdf viewer.
1 2 3