bugs found using cuteeditor with AJAX Toolkit ModalPopupExtender

  •  01-14-2008, 12:55 PM

    bugs found using cuteeditor with AJAX Toolkit ModalPopupExtender

    Hi Adam,
     
    we have found two bugs using cuteeditor with AJAX Toolkit ModalPopupExtender.
     
    1) When setting the height to 100px then cuteeditor appears with 160px in the ModalPopupExtender.
        When then clicking on "Preview" or "HTML" the height will be restored to the 100px.
        Error found with IE 7.0. With Firefox is ok.

    2) The ContextMenu appears behind the Editor.
        Error found with IE 7.0 and Firefox.
     
    Below is the code. Just start it and click the button "Show".

    Can you please soon  provide a fix?
     
    Joerg
     
    ------------------------------------------------------------------------------------------------------------

    <%@ Page Language="VB" %>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
     
    <!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>Untitled Page</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager>
    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnShow" PopupControlID="panel1" />

    <asp:LinkButton ID="btnShow" runat="server" Text="Show" />

    <asp:Panel ID="panel1" runat="server" style="display:none; width:500px; height:500px; padding:3px; border:solid 1px black" >
    <CE:Editor ID="CuteEditor1" runat="server" ConfigurationPath="~/CuteEditor/Configuration/AutoConfigure/Minimal.config"
    Height="100px">
    </CE:Editor>
    </asp:Panel>

    </form>
    </body>
    </html>

View Complete Thread