Re: Problem using multiple instances of CuteEditor inside UpdatePanel on Google Chrome

  •  02-03-2009, 1:21 AM

    Re: Problem using multiple instances of CuteEditor inside UpdatePanel on Google Chrome

    Hi rmisiak,
     
    Please try the following code:
     
    It works fine for me, if it is not you mean, please create a page can reproduce this issue and send it to me.
     
    My Eamil address: [email protected]
     

    <%@ Page Language="C#" %>

    <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <script runat="server">

        protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text = Editor2.Text;
        }
    </script>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>test</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <CE:Editor ID="Editor1" runat="server">
                    </CE:Editor>
                    <CE:Editor ID="Editor2" runat="server">
                    </CE:Editor>
                </ContentTemplate>
            </asp:UpdatePanel>
            <p>Change text of editor2 and click this button</p>
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="ClickMe" />
            <br />
            <asp:Label ID="Label1" runat="server"></asp:Label>
        </div>
        </form>
    </body>
    </html>
     
    Regards,
     
    Ken
View Complete Thread