Changing the "Drop files here to upload" text in the Upload component

1 Answer 511 Views
Upload
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
Janki asked on 13 Jun 2023, 05:32 PM
Is this possible without CSS? I couldn't find any existing threads / KB articles / UploadProps that help me accomplish this.

1 Answer, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 14 Jun 2023, 04:30 PM

Hi, Janki,

You can modify the text of all messages in the Upload component by using a LocalizationProvider:

For convenience, I have prepared a sample demonstrating how to customize the desired messages here:

Regards,
Vessy
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
commented on 14 Jun 2023, 06:45 PM

Thanks, Vessy! I was hoping for something a little less involved, but I appreciate that Kendo offers text customization for all text rendered in the Upload component! I can work with this :-)
Vessy
Telerik team
commented on 15 Jun 2023, 03:13 PM

You are welcome, Janki, I am glad that my suggestion will be useful for you :)
Tags
Upload
Asked by
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
Answers by
Vessy
Telerik team
Share this question
or