Cute Editor 6.4 with multiple ModalPopupExtenders in updatepanel IE 8

Last post 10-20-2009, 2:53 PM by bpereira. 3 replies.
Sort Posts: Previous Next
  •  09-30-2009, 2:11 PM 55984

    Cute Editor 6.4 with multiple ModalPopupExtenders in updatepanel IE 8

    We are evaluating the product and seem to be having a problem using the cuteeditor with multiple modalpopupextenders.
     
    While running this from the VS2008 environment the application hangs and I have to kill the vs app and start again.
     
    If I run this from a site I deploy to I get Object reference not set to an instance of an object.
     
    Below is the code that can be used to duplicate the problem.
     
    Click on the Edit Title and then Close and error occurs.
     
    The real application I am working on has 4 modalpopupextenders and all seems to work fine. When I add the CuteEditor with a modalpopupextender the problem occurs.
     
    If I put the cuteeditor with a modalpopupextender by itself on the page, Everything works fine.
     
    I've tried FreeTextBox and it does not work in an updatepanel, ComponentArt Editor too is giving me problems. So far this is the only one I got working by itself on a page with modalpopupextender.
     
    Could you please let us know if it is possible to use this product with multiple modalpopupextenders?
     
    CS Code Below
    /* *********** Begin CS Code ****************/

    public partial class BuilderPages_Test3 : System.Web.UI.Page

    {

       protected void Page_Load(object sender, EventArgs e)
       {
       }
       protected void Save_Click(object sender, ImageClickEventArgs e)
       {
       }
     
       protected void Close_Click(object sender, ImageClickEventArgs e)
       {
       }
       protected void EditContent_Click(object sender, ImageClickEventArgs e)
       {   
          PanelPage_ModalPopupExtender.Show();
       }   
     
       protected void EditTitle_Click(object sender, ImageClickEventArgs e)
       {
          PanelTitle_ModalPopupExtender.Show();
       }
    }
     
    /* *********** End CS Code ****************/
     
    /******************** BEGIN Form Here *********************/
    <%
    @ Page Language="C#" AutoEventWireup="true" CodeFile="Test3.aspx.cs" Inherits="BuilderPages_Test3" %>

    <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

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

    <!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 id="Head1" runat="server">
     
       <title>Untitled Page</title>
     
       <link href="includes/BuilderStyles.css" rel="stylesheet" type="text/css" id="BuilderCss"/>

    </head>

    <body>

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

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

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

       <div>

          <asp:Panel ID="PanelTitle" runat="server" CssClass="ModalPopup" Width="100%" Height="500">

             <asp:Label ID="Label1" BorderStyle="Inset" runat="server" Text="Testing"></asp:Label>

             <asp:ImageButton ID="Close" runat="server" ImageUrl="Images/Close.png" OnClick="Close_Click" />

          </asp:Panel>

     

          <cc1:ModalPopupExtender ID="PanelTitle_ModalPopupExtender" runat="server" BackgroundCssClass="GrayedOut" Enabled="True" TargetControlID="EditTitle" PopupControlID="PanelTitle" DropShadow="false" ></cc1:ModalPopupExtender>

          <asp:ImageButton ID="EditTitle" runat="server" ImageUrl="images/Edit.png" onclick="EditTitle_Click" />

       </div>

       <div>

          <asp:Panel ID="PanelPage" runat="server" CssClass="ModalPopup" Width="100%" Height="500">

          <table style="width:100%;text-align:left;">
     
             <tr>

                <td>

                   <CE:Editor id="PageContent" runat="server" AutoConfigure="Simple" Width="100%" Height="100%" />

                </td>

             </tr>

             <tr>

                <td align="right">

                   <asp:ImageButton ID="Save" runat="server" ImageUrl="Images/Save.png" CommandName="Save" OnClick="Save_Click" />

                </td>

             </tr>

          </table>

       </asp:Panel>

       <cc1:ModalPopupExtender ID="PanelPage_ModalPopupExtender" runat="server" BackgroundCssClass="GrayedOut" Enabled="True" TargetControlID="EditContent" PopupControlID="PanelPage" DropShadow="false"   
       </
    cc1:ModalPopupExtender>

       <asp:ImageButton ID="EditContent" runat="server" CssClass="TopOfContent" ImageUrl="images/Edit.png" onclick="EditContent_Click" />

       </div>

    </ContentTemplate>

    </asp:UpdatePanel>

    </form>

    </body>

    </html>

    /******************** End Form Here *********************/
     
    Thanks
    Brendan
    Filed under:
  •  10-02-2009, 11:07 AM 56053 in reply to 55984

    Re: Cute Editor 6.4 with multiple ModalPopupExtenders in updatepanel IE 8

    Brendan,
     
    We are investigating this issue and will get back to you as soon as possible.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-03-2009, 10:49 PM 56071 in reply to 55984

    Re: Cute Editor 6.4 with multiple ModalPopupExtenders in updatepanel IE 8

    Hi,
     
    I think you get the license error.  the license file is not found.
     
    One of the old version has this error , and we have fixed for a few days.
     
    Please test this sample :
     
     
    Regards,
    Terry
     
     
  •  10-20-2009, 2:53 PM 56524 in reply to 56071

    Re: Cute Editor 6.4 with multiple ModalPopupExtenders in updatepanel IE 8

    Hi Terry,
     
    The sample2 page works with a single modalpopupextender, however the default page fails because it has multiple modalpopupextenders. I am running the test in the vs2008 environment and it hangs.
     
    Thanks
View as RSS news feed in XML