An error occur when use cute editor for .net in a panel!!!

Last post 10-29-2009, 2:14 AM by ImanDesign. 2 replies.
Sort Posts: Previous Next
  •  10-28-2009, 1:29 AM 56730

    An error occur when use cute editor for .net in a panel!!!

    I use cute editor 6.3 for .net in a asp:panel tag. When page load in first time the panel visibility is "false", after press a button in page the panel visibility becomes "true" and cute editor is shown in browser but when I press another button and change the panel visibility to "false" and again "true" and error occur in Internet Explorer and toolbar of cute editor is not shown and it hang.
     
    the error is:
    Message: 'document[...]' is null or not an object
    Line: 1
    Char: 1
    Code: 0
    URI: http://localhost/---/---/Default2.aspx


    Message: Object doesn't support this property or method
    Line: 1
    Char: 1
    Code: 0
    URI: http://localhost/---/---/Default2.aspx


    Message: 'null' is null or not an object
    Line: 1
    Char: 1
    Code: 0
    URI: http://localhost/---/---/Default2.aspx

     
     
     
    The server side HTML tags:
     
    <asp:UpdatePanel ID="updGridInformationDetail" runat="server" ChildrenAsTriggers="False"
        UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Panel ID="pnlGridInformationDetail" runat="server">
                <fieldset class="CfldFieldSet">
                    <legend>
                        <span style="vertical-align: 14px; font-size: 14px;">Details</span>&nbsp;&nbsp;</legend>
                    <table class="CtblSettings">
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Description:
                                <asp:UpdatePanel ID="updCE" runat="server" ChildrenAsTriggers="False"
                                    UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:Panel ID="pnlCE" runat="server" Width="100%">
                                            <table width="100%">
                                                <tr>
                                                    <td align="center">
                                                        <CE:Editor ID="ceDescription" runat="server">
                                                        </CE:Editor>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="btnCloseGridInformationDetail" runat="server"
                                    CssClass="CbtnButton" OnClick="btnCloseGridInformationDetail_Click"
                                    Text="Close Cute Editor" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                </fieldset></asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
     
     
     
     
     
     
    and the code behind in C# is:
     
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            pnlGridInformationDetail.Visible = false;
            updGridInformationDetail.Update();
        }
    }
    protected void btnSearch_Click(object sender, EventArgs e)
    {
        pnlGridInformationDetail.Visible = true;
        updGridInformationDetail.Update();
    }
    protected void btnSaveInformationDetail_Click(object sender, EventArgs e)
    {

    }
    protected void btnCloseGridInformationDetail_Click(object sender, EventArgs e)
    {
        pnlGridInformationDetail.Visible = false;
        updGridInformationDetail.Update();
    }
  •  10-28-2009, 2:51 AM 56732 in reply to 56730

    Re: An error occur when use cute editor for .net in a panel!!!

    Hi ImanDesign,
     
    This issue has been fixes in the latest version. Please download it and try again.
     
    Download:
     
     
    Regards,
     
    ken
  •  10-29-2009, 2:14 AM 56761 in reply to 56732

    Re: An error occur when use cute editor for .net in a panel!!!

    I downloaded latest version of CuteEditor and my problem solved.
     
    Thanks a lot Ken,
     
    Good Luck,
     
    ImanDesign
View as RSS news feed in XML