[Solved] TelerikPdfViewer fails to render any PDF

1 Answer 10 Views
PDFViewer
Steve
Top achievements
Rank 1
Steve asked on 03 Mar 2026, 04:20 PM

I am struggling to get TelerikPdfViewer (version 11.1.1) to render any PDF. The PDF's in question have been validated correct.

<TelerikPdfViewer @ref="@PdfViewerRef" Data="@PdfData" OnError="@OnPdfError" />

The PDF viewer frame is displayed correctly, but no PDF is rendered. Even if I use the toolbar to "open" a PDF, that "opened" PDF does not render. The OnPdfError callback does get called.

protected async Task OnPdfError(PdfViewerErrorEventArgs args) {

}

However args.Message is always null.

Whatever AI and I have tried over several hours has made no difference, and  hopefully someone can suggest what might be stopping it from performing the rendering.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 04 Mar 2026, 07:28 AM | edited on 04 Mar 2026, 01:57 PM

Hello Steve,

Most probably the PDF Viewer is inside a static .razor file. Our components require interactive render mode. See the note in this documentation section.

If the issue seems to be different, please send a small runnable example for inspection.

UPDATE: Based on additional ticket information, the PDF Viewer is inside a Dialog and the PDF Viewer Data parameter is set programmatically. In this case, the Dialog must be refreshed programmatically after setting the Data parameter.

Regards,
Dimo
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.

Tags
PDFViewer
Asked by
Steve
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or