Typing delay with new version 6

Last post 06-14-2007, 9:28 PM by Adam. 8 replies.
Sort Posts: Previous Next
  •  05-09-2007, 11:31 AM 29433

    Typing delay with new version 6

    Hi,
     
    We have a ASP.NET 1.1 application that use to run CuteEditor 5.3 for a while and we just tried to replace it with version 6.   But we are experiencing huge typing delays.  If you press the keys to type a word loke "Hello" it takes about 5 seconds by letter to display after you press the key.  It looks like a client side javascript delay.  Of course your forum and your demo is working fine so there is something relatied to the way we are using it that causes the problem but only starting with version 6.  Other weard point, we only experience it with IE7, it works fine in FireFox 2.0
     
    Any idees of where we can look for ?
     
     
  •  05-09-2007, 12:43 PM 29437 in reply to 29433

    Re: Typing delay with new version 6

    Hi,
     
    We've been experiencing something quite similar.
     
     
    Regards,
    FredD
  •  05-09-2007, 12:48 PM 29439 in reply to 29433

    Re: Typing delay with new version 6

    ID3TECH,
     
    >>Of course your forum and your demo is working fine so there is something relatied to the way we are using it that causes the problem but only starting with version 6. 
     
    Try the following simple configuration:
     
    <%@ Page Language="C#"%>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <html>
     <body>
            <form runat="server">
                <CE:Editor id="Editor1" runat="server" ></CE:Editor>       
            </form>
     </body>
    </html>
     
    Also make sure you are using the latest DLL (2007-05-07) and client files.
     
    Keep me posted.
     
     
     

    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

  •  05-09-2007, 1:09 PM 29442 in reply to 29439

    Re: Typing delay with new version 6

    OK, i think i have a good hint to help you find the problem :
     
    I created the simple ASPX page you told me to create and the conclustion is interesting :  If i access this page inside my web application, i still get a delay after each character and if i type fast, it even looses characters.  If i access the page in a seperate explorer window, it works fine.   What's so different in my application ??   The simple page thet i show in my application is displayed inside an IFRAME dynamically created in the main page and there are other IFRAMES in the page to show other content or to serves as a hidden postback frame.  Is it possible that your Javascript is trying to locate the HTMLEditor element by ID by parsing the document in the TOP window of the browser so if this document is huge, that causes the problem ???
  •  05-10-2007, 1:46 AM 29469 in reply to 29442

    Re: Typing delay with new version 6

    ID3TECH,
     
    Please download the latest build (2007-05-10) and try again.
     
     

    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

  •  05-10-2007, 10:04 AM 29483 in reply to 29469

    Re: Typing delay with new version 6

    Unfortunatly, it did nothing... I am making tests to figure out what exacly is the difference between our application envirnment and a simple page... i will get back to you.
  •  05-10-2007, 1:14 PM 29493 in reply to 29483

    Re: Typing delay with new version 6

    Here are my last observations :
     
    1. My Web application is a complex web application with alot of JavaScript and a lot of HTML tags in the MAIN TOP window.  The application dynamically create new IFRAMES where it loads for exemle your simple page with only your HTML Editor in it.
    2. When i use this page inside my application i have the typing delay problem.
    3. If i take the URL but opens it in a seperate Explorer Window, it works fine.
    4. So i tried creating another page with only a button that opens a new window (window.open) with the imple page in it.  If i click on the button from the page inside my application it is still slow.... if i open it in another window, it is OK.
    5. So i did a last test, i opened the editor from a window.open inside my application and of course it ran slow and i had the problem.  I just closed my main application window and it started working fine in the same window.
    6. You may say that the problem is my application but 5.3 was running perfecly and 6 works fine in FireFox !
    So my question is :
     
    Is it possible that on every keystroke, you fire a javascript function that scans not only all tags inside the current document but also the tags in the window.opener ???  And if so, why are you doing that ??
     
    If not, then i am wondwring... is it possible that you play with timers like document.setTimeout or .setInterval because i am using one in my mains aplication to update an iframe every minute...  maybe we have a conflict there ???
     
     
  •  06-14-2007, 2:47 PM 30750 in reply to 29493

    Re: Typing delay with new version 6

    I had a similar problem with typing slow in IE 7 when I opened a popup window.  However, the editor would type fast if it was the parent object.  Which means that is it probably looking at the parent opener object to do some kind of parsing.  So in popup window right before the closing body and html tag I set window.opener=null and works fast even with the
    ConvertHTMLTagstoLowercase="true" ShowTagSelector="true"
     
    enable.  Try it out on yours, hope it helps.
    I was pulling my hair on this one.
     
    Greg
  •  06-14-2007, 9:28 PM 30768 in reply to 30750

    Re: Typing delay with new version 6

    Greg,
     
    This issue is resolved in the recent build. Please download it again.
     

    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

View as RSS news feed in XML