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.
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
If 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.