CHROME 7.x.x.x issues - content of CuteEditor doesn't appear

Last post 10-26-2010, 9:01 AM by snayko. 2 replies.
Sort Posts: Previous Next
  •  10-26-2010, 3:20 AM 64690

    CHROME 7.x.x.x issues - content of CuteEditor doesn't appear

    Hi everybody,
    I have issues with CHROME browser version 7.
    recently I've noticed that my CHROME browser was updated and 
    CuteEditor content doesn't apper now.
    I've read this topic about CHROME
    -----------------

    4. Google Chrome isn't displaying characters correctly

    To help browsers render your content correctly, you should always provide content and character encoding information at the top of your document's source. If you're using frames or iframes, specify the encoding at the top of the source of those frames, as well. Some browsers (including Google Chrome) won't recognize encoding declarations that appear deep in a document (such as after CSS or script in your document's head section). 
    -------------------------
    Maybe that's why it dons't work.....
    How can I configure my CuteEditor to add
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in those frames which are generated by CuteEditor (I know that content of CuteEditor is generated by means of iframes)
     
    Are there any ideas ... ? 
     
  •  10-26-2010, 5:39 AM 64697 in reply to 64690

    Re: CHROME 7.x.x.x issues - content of CuteEditor doesn't appear

    It seems that for the first time it works correctly (when I open document for the first time)
    but then all next attempts to open document show nothing (empty iframe)
    I don't know what's the problem.
    In IE everything works fine. 
  •  10-26-2010, 9:01 AM 64702 in reply to 64697

    Re: CHROME 7.x.x.x issues - content of CuteEditor doesn't appear

    It was a challenge.
    If somebody meets such kind of situation I just want you to know that
    This is a problem with iframe loading.
    So simple reloading of iframe by means of javascript fix the problem.
     
    function ReloadCuteEditorIframe() {
                if (navigator.appName != "Microsoft Internet Explorer") {
                    var fr = document.getElementById('<%=CE_HTMLEditor.ClientID %>' + '_Frame'); // CuteEditor ID + addition frame tag
                    if (typeof fr.src != "undefined" && fr.src != null)
                    { fr.src = fr.src; }
                    else window.setTimeout("ReloadCuteEditorIframe()", 1000);
                }
            } 
     
    and then you just put this server code where you need to show CuteEditor
     
    ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "RefreshIframe", "ReloadCuteEditorIframe();", true); 
     
View as RSS news feed in XML