Standalone Image Manager, change default insert button text

2 posts, 0 answers
  1. snowolf
    snowolf avatar
    24 posts
    Member since:
    Oct 2007

    Posted 20 Apr 2012 Link to this post

    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,

  2. Rumen
    Admin
    Rumen avatar
    14351 posts

    Posted 21 Apr 2012 Link to this post

    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.
Back to Top