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.

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;
    }
}

Completed
Last Updated: 12 Feb 2025 16:03 by ADMIN
Release 8.0.0
Open a PDF file in the PDF Viewer. Tap the magnifier icon to initiate the search. Start typing, the component freezes. 
Unplanned
Last Updated: 27 Jan 2023 15:21 by Miroslav

The loading animation is visible only when a user opens a file from the Toolbar of the component. When programmatically opening a file, the loader is not shown. 

 

Unplanned
Last Updated: 03 Dec 2024 07:56 by Markus
Created by: Markus
Comments: 0
Category: PDFViewer
Type: Feature Request
5

I want to have an option for digital signatures with browser-based certificate selection.

===

ADMIN EDIT

===

For the time being, you can use the following custom approach: Signing PDFs with PdfPRocessing in PdfViewer.

Unplanned
Last Updated: 11 Feb 2025 13:05 by Joel

The PDF Viewer fails to display the loaded document if StateHasChanged() is called when the Data parameter is set.

  • A possible workaround is to call await Task.Delay(...) after StateHasChanged().
  • When loading the file in OnAfterRenderAsync, then add the delay before calling StateHasChanged().

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            PdfViewerData = await System.IO.File.ReadAllBytesAsync(......);
            await Task.Delay(1);
            StateHasChanged();
        }

        await base.OnAfterRenderAsync(firstRender);
    }

Test Page (run this in a server app):

<h1>PDF Viewer Tests</h1>

<h2>Load Initially</h2>

<TelerikPdfViewer Data="@FileData1"
                  EnableLoaderContainer="true"
                  Height="30vh"
                  Zoom="0.75m">
</TelerikPdfViewer>

<h2>Load On Demand</h2>

<TelerikButton ThemeColor="@ThemeConstants.Button.ThemeColor.Primary"
               OnClick="@( async () => await LoadPdf(2) )">Load PDF</TelerikButton>

<TelerikPdfViewer Data="@FileData2"
                  EnableLoaderContainer="true"
                  Height="30vh"
                  Zoom="0.75m">
</TelerikPdfViewer>

@code {
    private byte[]? FileData1 { get; set; }
    private byte[]? FileData2 { get; set; }

    protected async override Task OnInitializedAsync()
    {
        await LoadPdf(1);
    }

    public async Task LoadPdf(int id)
    {
        await Task.Delay(1000);

        if (id == 2)
        {
            FileData2 = Convert.FromBase64String(PdfBase64);
        }
        else
        {
            FileData1 = Convert.FromBase64String(PdfBase64);
        }

        StateHasChanged();

        await Task.Delay(300);
    }

    private const string PdfBase64 = "JVBERi0xLjEKMSAwIG9iajw8L1R5cGUvQ2F0YWxvZy9QYWdlcyAyIDAgUj4+ZW5kb2JqCjIgMCBvYmo8PC9UeXBlL1BhZ2VzL0tpZHNbMyAwIFJdL0NvdW50IDEvTWVkaWFCb3ggWy00MCAtNjQgMjYwIDgwXSA+PmVuZG9iagozIDAgb2JqPDwvVHlwZS9QYWdlL1BhcmVudCAyIDAgUi9SZXNvdXJjZXM8PC9Gb250PDwvRjE8PC9UeXBlL0ZvbnQvU3VidHlwZS9UeXBlMS9CYXNlRm9udC9BcmlhbD4+ID4+ID4+L0NvbnRlbnRzIDQgMCBSPj5lbmRvYmoKNCAwIG9iajw8L0xlbmd0aCA1OT4+CnN0cmVhbQpCVAovRjEgMTggVGYKMCAwIFRkCihUZWxlcmlrIFBkZlZpZXdlciBmb3IgQmxhem9yKSBUagpFVAplbmRzdHJlYW0KZW5kb2JqCnhyZWYKMCA1CjAwMDAwMDAwMDAgNjU1MzUgZgowMDAwMDAwMDIxIDAwMDAwIG4KMDAwMDAwMDA4NiAwMDAwMCBuCjAwMDAwMDAxOTUgMDAwMDAgbgowMDAwMDAwNDkwIDAwMDAwIG4KdHJhaWxlciA8PCAgL1Jvb3QgMSAwIFIgL1NpemUgNSA+PgpzdGFydHhyZWYKNjA5CiUlRU9G";
}

 

Unplanned
Last Updated: 19 Mar 2025 11:58 by Joel
Created by: Joel
Comments: 0
Category: PDFViewer
Type: Feature Request
5

I want to detect when a user has added or removed an annotation in the PDF Viewer.

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: 10 Mar 2023 09:20 by Miroslav
Created by: Miroslav
Comments: 0
Category: PDFViewer
Type: Bug Report
4

When you search for a term, the document is not scrolled. Also when the user inserts a search term and clicks Enter the document is scrolled to the second match instead of the first one.

Duplicated
Last Updated: 20 Jul 2023 20:53 by ADMIN
Created by: Lammert
Comments: 0
Category: PDFViewer
Type: Feature Request
4
We are trying multiple viewers with the same files in a Blazor server application.
But the other viewers load larger file sizes faster because they load them in modules and when you scroll through the viewer, the others will be loaded.

I didn't see this in the Telerik pdf viewer. Am I correct that this is not standard? And is there a way to make it that way?
Unplanned
Last Updated: 06 Jun 2024 08:15 by Ron
Created by: Brian
Comments: 1
Category: PDFViewer
Type: Feature Request
4
Our use case doesn't seem that too "out of the ordinary", but we have standardized forms that are dynamically rendered using Telerik inputs and a PDF Viewer component and when the user focuses on one of the inputs, the PDF needs to pan/zoom in the general region/area where the value of that input field is located on the PDF.  It's basically to give the user the ability to verify a value that has been OCR'd from the PDF and displayed in the input field.  We have another feature request to add the ability to quickly add a square annotation to the PDF via the API as well because we have to highlight the actual area on the PDF as we pan/zoom.
Completed
Last Updated: 14 Nov 2024 09:28 by ADMIN
Release 7.0.0

After clicking the Print button, the pages are ordered incorrectly. Can be seen in the preview window.

Steps to reproduce:

1. Open https://demos.telerik.com/blazor-ui/pdfviewer/overview

2. Click the Print button

Unplanned
Last Updated: 26 Nov 2024 09:34 by Graham
Enable navigation by displaying page thumbnails, allowing users to click on a thumbnail to jump directly to the corresponding page.
Unplanned
Last Updated: 27 Jan 2023 12:38 by Thomas
I want to set the Data of a PDFViewer from the OnRowClick event handler. If I use the ReadAllBytesAsync() method, the PDF viewer does not render the PDF document. I need to use the synchronous version (ReadAllBytes) to make this work.
Unplanned
Last Updated: 03 Mar 2025 18:39 by Gal
Created by: Gal
Comments: 0
Category: PDFViewer
Type: Bug Report
3
The quality of the PDFViewer document in the print preview popup has declined since version 6.2.0.
Completed
Last Updated: 08 Jul 2025 05:51 by ADMIN
Release 2025 Q3 (Aug)
Created by: Juni
Comments: 0
Category: PDFViewer
Type: Bug Report
3
When printing a PDF using the `TelerikPdfViewer` via the built-in Print tool or programmatically through the `Print()` method, the output is scaled down to approximately 75% of its original size.
Unplanned
Last Updated: 13 Sep 2023 07:17 by ADMIN
Created by: n/a
Comments: 0
Category: PDFViewer
Type: Feature Request
2
Currently we use Telerik WinForm and Blazor PDFViewer components in our products and it is working well. We have a requirement for the PDF redaction and your product does not support that. I would like to make a feature request to add a PDF reaction to the current PDF Viewer. In which the user will have an ability to draw a box around the sensitive content. Ideally would be better if the text content below the image layer is also removed but in the beginning being able to draw box and print would be greatly appropriated.
Completed
Last Updated: 05 Aug 2024 13:31 by ADMIN
Release 6.1.0
The ZoomChanged event doesn't fire when the user clicks on the zoom in/out buttons or selects a new zoom level from the ComboBox.
Unplanned
Last Updated: 23 Jan 2025 10:26 by HyunSoo
Created by: HyunSoo
Comments: 0
Category: PDFViewer
Type: Feature Request
2
I want to detect when a specific page is rendered, so I can extract information from that page. Please expose a render event similar to the one in jQuery.
Completed
Last Updated: 23 May 2025 08:31 by ADMIN
Release 9.0.0
Created by: Miroslav
Comments: 0
Category: PDFViewer
Type: Bug Report
2

Trying to upload a large file from a mobile device breaks the component.
Step to reproduce:

  1. Open this REPL example on a mobile device
  2. Click the "Load Data" button.

The issue can be reproduced only in version 8.0.0