Re: CuteEditor_OnInitialized(editor) doesn't work when ajax call back in the tab panel

  •  03-28-2010, 12:38 AM

    Re: CuteEditor_OnInitialized(editor) doesn't work when ajax call back in the tab panel

    thx Ken,
    Your code works fine. however,  I have more than 1 editor which are in different tabpanel. different editor would have differnt screen size. How can I indentify each editor? and also I need to resize the editor screen when window.onresize happens. I actually tried to use following code which is provided by you in another replay. 
    It is NOT working ~~~ Can you pls help
     

    var editor1 = document.getElementById('<%= Editor1.ClientID %>');

    function CuteEditor_OnInitialized(editor) {

    if (editor1 != null) {

    editor1.SetHeight(document.documentElement.clientHeight - 70 - 70 - 50);

    }

    }

    window.onresize = function() {

    if (editor1 != null) {

    editor1.SetHeight(document.documentElement.clientHeight - 70 - 70 - 50);

    }

    }

     
View Complete Thread