Is there a way to dynamically change the error message in the TelerikUpload component

1 Answer 17 Views
Upload
Bram
Top achievements
Rank 1
Iron
Iron
Bram asked on 31 Jul 2025, 01:12 PM | edited on 31 Jul 2025, 05:43 PM

I am using the TelerikUpload component.
Telerik.UI.for.Blazor version 9.0.0

Extra security checks (anti-virus etc.) are triggered in the Controller and depending on what caused an issue, I would like to change the default "File failed to upload" error message. Ideally this message would be set in the OnError handler, or maybe a ChildTemplate exists I am not aware of?

 This post talks about changing the message through localization, but that does not allow me to change it at runtime:

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 04 Aug 2025, 10:12 AM

Hi Bram,

I confirm that there is no easy or straight-forward way to render custom file-specific status messages in the Upload file list. We have a feature request about Upload file item template, which will allow this. I voted on your behalf. As suggested in the linked page, you can consider a custom file list for full control over the rendered UI.

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
Upload
Asked by
Bram
Top achievements
Rank 1
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or