version 6.1 in AJAX with multiple control problem

Last post 02-15-2009, 9:35 PM by Kenneth. 7 replies.
Sort Posts: Previous Next
  •  09-19-2008, 11:57 AM 44116

    version 6.1 in AJAX with multiple control problem

    First I would like to say Adam you do a great job of this.
    However, I tried the latest version 6.1.2 in AJAX with multiple cute editor controls (the page enable the MaintainScrollPositionOnPostback) for a long page, after a postback, the page position was changed to the first cute editor's.
    And I also noticed the page has some times jumping. Please advice.
     
    Thanks.
     
    Alex
  •  09-19-2008, 7:30 PM 44123 in reply to 44116

    Re: version 6.1 in AJAX with multiple control problem

  •  09-22-2008, 6:52 PM 44172 in reply to 44123

    Re: version 6.1 in AJAX with multiple control problem

    Adam:
     
    Please try my following test aspx, scroll down the page and click the Button2.
    You will see the position was changed and it jumping up-and-down twice.
     
    Thanks.
     
    Alex
     

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default1.aspx.cs" Inherits="CuteEditorTest2._Default1"
    MaintainScrollPositionOnPostback="true"
    %>

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


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

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
       
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
          <table border="1" cellpadding="1" style="width: 100%">
                        <tr>
                            <td style="width: 50%">
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                            </td>
                            <td >
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;</td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                            </td>
                        </tr>
                        <tr>
                            <td >
                                &nbsp;</td>
                            <td >
                                &nbsp;
                            </td>
                            <td >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td >
                                <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" Height="200px" Width="100%"></asp:TextBox>
                            </td>
                            <td >
                                &nbsp;
                                <asp:Button ID="Button3" runat="server" Text="Button" OnClick="Button1_Click" /></td>
                            <td >
                            </td>
                        </tr>
                    </table>
                   
                   
            <h1>Ajax Support Sample</h1>
      <p style="width:760px;">To run this example, you need to install Microsoft ASP.NET AJAX on your server.</p>
      <br>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    UpdatePanel
                    <asp:Label ID="Label1" runat="server" Text="Panel created."></asp:Label><br />
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
                </ContentTemplate>
            </asp:UpdatePanel>
            <br>
           
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
         <CE:Editor id="Editor1" AutoConfigure="Simple" runat="server" ></CE:Editor><br />
       </ContentTemplate>
            </asp:UpdatePanel>
           
            <!-- ///////////////////////////////////////////////////////////////// -->
           
            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <ContentTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Height="200px" Width="100%" ></asp:TextBox>
                    <asp:Button ID="Button2" runat="server" Text="Button" OnClick="Button2_Click" />
                    </ContentTemplate>
            </asp:UpdatePanel>
           
            <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                <ContentTemplate>
                    <CE:Editor id="Editor2" runat="server" ></CE:Editor>
                    <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                </ContentTemplate>
           
            </asp:UpdatePanel>
           
           
           
        </div>
        </form>
    </body>
    </html>

  •  09-25-2008, 1:28 PM 44296 in reply to 44172

    Re: version 6.1 in AJAX with multiple control problem

    Hi Adam:
     
    I know you are busy but I'd like to know if you have any idea about this.
    It looks like has problem if there are more than one CuteEditor controls in a page.
     
    Thanks.
     
    Alex
  •  09-25-2008, 10:59 PM 44316 in reply to 44296

    Re: version 6.1 in AJAX with multiple control problem

    I can reproduce this issue and we are working on the fix right now.

    We will get back to you as soon as possible.
     

     
    Ken
  •  09-30-2008, 5:52 PM 44449 in reply to 44316

    Re: version 6.1 in AJAX with multiple control problem

    Thanks and hope to hear the good news soon.
     
    Alex
  •  10-09-2008, 7:02 PM 44752 in reply to 44449

    Re: version 6.1 in AJAX with multiple control problem

    Same problem in version 6.2 too.
    Is there any solution now?
     
    Thanks.
     
    Alex
  •  02-15-2009, 9:35 PM 48818 in reply to 44752

    Re: version 6.1 in AJAX with multiple control problem

    Hi AlexW,
     

    This issue is resolved.

    Please download version 6.3.

    Download:

    http://cutesoft.net/Downloads/default.aspx

    Demo:

    http://cutesoft.net/example/general.aspx

    Regards,
     
    Ken
View as RSS news feed in XML