Selecting Image Properties, Selecting new Image Src - Src value not changed

2 posts, 0 answers
  1. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 29 Feb 2012 Link to this post


    I've just started experiencing this.  I have an Editor on a page.  I go to HTML view, paste in some HTML, which includes an image, then switch to DESIGN view, right click on the image, select Properties, and then for the Image Src, I browse to select a replacement image.  When I select it and click OK, it does NOT replace the value in the Image Src field.  To get this to work, I have to clear the Image Src value, then browse and select the image.

    Any ideas?  Need more information?

    Thank you.
  2. Rumen
    Rumen avatar
    14459 posts

    Posted 02 Mar 2012 Link to this post


    I was unable to reproduce the browser caching issue, but I would suggest the following fix for it.

    1) register the external dialogs of RadEditor (ExternalDialogsPath="~/EditorDialogs")
    2) open the SetImageProperties.ascx file and modify the _insertClickHandler function as follow:

    _insertClickHandler: function (e) {
        var image = this.getModifiedImage();
        if (image) {
            var arg = new Telerik.Web.UI.EditorCommandEventArgs("SetImageProperies", null, image)
            arg.get_value().src = arg.get_value().src + "?param=" + Math.random();

    3) Save the file, clear the browser cache and test the solution.

    Kind regards,
    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