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

Standalone Image Manager, change default insert button text

1 Answer 55 Views
Editor
This is a migrated thread and some comments may be shown as answers.
snowolf
Top achievements
Rank 1
snowolf asked on 20 Apr 2012, 03:45 PM
Hi,

I create a standalone follow the instruction in the following link
http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx

my questions are:
1. there is a insert button on the dialog, is there a way to change the text from insert to Select?
2. I don't want customer select file which size is greater than 3MB, can I show up a warning message when they click insert button if the selected file is greater than 3MB or there is another way to prevent customers doing that? I tried MaxUploadFileSize but it just prevent customers uploading files.

thanks,

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Apr 2012, 12:59 PM
Hello,

1) Yes, you can change the value of the localization Common_Insert placed in the \App_GlobalResources\RadEditor.Dialogs.resx file as shown in the following video: http://screencast.com/t/50BkwgoMJaI7.

2) The file length can be checked only on the server, because it is not possible to access the file system on the client using JavaScript. That is why the requested feature could not be implemented.

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
snowolf
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or