This is a migrated thread and some comments may be shown as answers.

Change Upload error message for unsupported extension

1 Answer 40 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 01 Nov 2016, 09:52 PM

I see the following error message popup when trying to upload a file that is not a supported type:

"The size of the uploaded file exceeds max size allowed

The extension of the uploaded file is not valid. Please, provide a valid file!"

 

We find this text confusing and would like to change it. Is there a way to change this text?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Nov 2016, 05:58 PM
Hello,

The RadFileExplorer control uses the same localization mechanism as RadEditor (.resx files in the App_GlobalResources folder). If you want to change the localization strings, you need to copy the RadEditor.Dialogs.resx file in the App_GlobalResources folder of your application and edit the strings inside.

ASPX
<telerik:RadFileExplorer ID="FileExplorer1" runat="server" Language="en-US">
    <Configuration ViewPaths="~/" UploadPaths="~/" />
</telerik:RadFileExplorer>

RadEditor.Dialogs.resx
Change the strings inside the values of these name attributes:
Common_InvalidFileExtension
Common_InvalidFileSize


Best regards,
Rumen
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
FileExplorer
Asked by
Justin
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or