Completed
Last Updated: 29 May 2026 06:43 by ADMIN
Release 2026 Q2
Herve
Created on: 12 May 2026 09:08
Category: PDFViewer
Type: Bug Report
5
Downloaded PDF starts with JS.ReceiveByteArray instead of %PDF-

The problem with the extra characters at the beginning of the PDF document has resurfaced.

The bytes returned by GetFileAsync() don't start with %PDF-, but with JS.ReceiveByteArray. Some PDF readers and my antivirus flag the file as corrupt or suspicious. I worked around it by stripping everything before the first %PDF- occurrence in the bytes before writing to disk.

1 comment
ADMIN
Petar Mladenov
Posted on: 29 May 2026 06:43

Hi,

The issue is no more reproducible in Q2 2026, after an upgrade of pdf.js 5.x.

This is our reproduction setup: blazorrepl.telerik.com/QquzGjYU25Hlxlbx47

I
f you hit similar issue again, please post here a reproducible setup so that we can investigate it further and if needed, reopen this case.

Regards,
Petar Mladenov
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.