image manager

4 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 06 Nov 2009 Link to this post

    when uploading images in the RADEditor, if im uploading an image with a name thats already been uploaded, I get an error message telling me that I cant upload because Ive chosen not to overwrite it.  How do I change the upload process to overright existing images
  2. Rumen
    Rumen avatar
    14434 posts

    Posted 11 Nov 2009 Link to this post


    You load a JavaScript file which contains the code below in the File Browser dialogs and then you will be able to programmatically check-in the file override checkbox in the Upload dialog:

        var overwriteCheckBox = document.getElementsByClassName("rfdRealInput");
        overwriteCheckBox[0].checked = true;
        //if (overwriteCheckBox[0] != null) overwriteCheckBox[0].click();
    document.getElementsByClassName = function(cl) 
        var retnode = [];
        var myclass = new RegExp('\\b'+cl+'\\b');
        var elem = this.getElementsByTagName('*');
        for (var i = 0; i < elem.length; i++) {
        var classes = elem[i].className;
        if (myclass.test(classes)) retnode.push(elem[i]);
    return retnode;

    RadEditor declaration:
    <telerik:RadEditor ID="RadEditor1" runat="server" DialogsScriptFile="~/Dialog.js">
        <ImageManager ViewPaths="~/Images" UploadPaths="~/Images" />

    Best regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. systems
    systems avatar
    71 posts
    Member since:
    Dec 2013

    Posted 12 Oct 2015 Link to this post

    In our web application, we have RadEditor with Image manager and in our case we do not want to show the preview and properties in the image manager window. 
    We tried with the CSS but it does not work.  So, can you please suggest the proper way  to hide only the preview and properties in the image manager window of RadEditor.
  4. Vessy
    Vessy avatar
    2369 posts

    Posted 12 Oct 2015 Link to this post


    I have already answered  your other thread on the subject, you can refer my answer here:

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top