CE editor frozen in tabcontainer of google chrome after ajax postback

  •  03-25-2010, 6:42 PM

    CE editor frozen in tabcontainer of google chrome after ajax postback

    This is obviously a bug of CE. I put a CE editor in tabcontainer. In google chrome, if the active tab is the CE editor, everytime after I click on button to trigger a ajax postback, the editor will be frozen, some of the button images will be lost, and the text area is not accessable. If I click on another tab and then go back to editor tab, it will be ok. 
     
    I think it's because the editor hasn't been fully initialized.  not sure if it's related to another issue I have with CuteEditor_OnInitialized method. http://www.cutesoft.net/forums/thread/59636.aspx 
    pls help
     
     
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Test3.aspx.vb" Inherits="Test3" %>

    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>

    <%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

    Namespace="System.Web.UI" TagPrefix="asp" %>

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head runat="server">

    <title></title>

    <style type="text/css" >

    html, body, form { height: 100%;}

    </style>

    </head>

    <body>

    <form id="form1" runat="server">

    <div style="height:100%">

    <asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">

    <ContentTemplate>

     

    <asp:Button ID="Button1" runat="server" Text="Button" /><br />

     

    <cc1:TabContainer ID="TabContainer1" runat="server">

    <cc1:TabPanel runat="server" HeaderText="Surveyors Section" ID="TabPanel1" Height="100%">

    <HeaderTemplate>

    <div>

    123</div>

    </HeaderTemplate>

    <ContentTemplate>

    <div id="div1" style="overflow: auto;">

    asdfsdaf

    </div>

    </ContentTemplate>

    </cc1:TabPanel>

    <cc1:TabPanel runat="server" HeaderText="Surveyors Section" ID="TabPanelSurveyor"

    Height="100%">

    <HeaderTemplate>

    <div>

    Surveyors Section</div>

    </HeaderTemplate>

    <ContentTemplate>

    <div id="divSurveyor" style="overflow: auto;">

    <CE:Editor ID="Editor1" runat="server" Height="200px"></CE:Editor>

    </div>

    </ContentTemplate>

    </cc1:TabPanel>

    </cc1:TabContainer>

     

     

    </ContentTemplate>

    </asp:UpdatePanel>

    </div>

    </form>

    </body>

    </html>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    _______________________________________
     
     

    Partial Class Test3

    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

    Dim aa As String = ""

    End Sub

    End Class
     
     
     
View Complete Thread