Speed when using multiple editors on same page

Last post 02-18-2010, 3:30 PM by Adam. 5 replies.
Sort Posts: Previous Next
  •  02-11-2010, 3:16 PM 58671

    Speed when using multiple editors on same page

    I have a page that uses 7 editors on the same page. This causes the page to load extremely slow.  When I do a view source I see tons of code for each editor that gets downloaded each time. Why aren't all the command code blocks and styles in external  style sheets and js files so you can download once and cache?  Am I missing something that I can do to streamline the editors. For instance I have a custom editor with say 15 buttons yet it downloads all the javascript commands and code for every button even though they are not even part of my editors.
     
  •  02-11-2010, 4:15 PM 58675 in reply to 58671

    Re: Speed when using multiple editors on same page

    Dear mwhittak,
     
    Please use property Editor.SubSequent,
    The Subsequent property If you have more than one editor on a page it is recommended that you call the subsequent() function on all editors except the first editor. The subsequent function will generate a specially configured editor that will share resources with the first editor on the page. This will greatly improve performance. Note that if you do not use the subsequent() function your multiple instances will still run, but may load slower than necessary.

     Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               ''more than one editor on a page it is recommended that you call the subsequent on all editors except the first editor. This will greatly improve performance.
               editor.SubSequent = true
               editor.Text = "Hello World"
               editor.Draw()
          %>

     
    Regards,
    Eric
  •  02-17-2010, 10:56 PM 58772 in reply to 58675

    Re: Speed when using multiple editors on same page

    I have the same problem with multiple editors and tried to add in this property but it is not recognized. I am using cute editor 6.5 for .net. Has this properties name been changed or the functionality programmed in elsewhere? Please help as this would greatly improve performance on my pages.
     
    Thanks
     
    Lorne
  •  02-18-2010, 3:30 PM 58818 in reply to 58772

    Re: Speed when using multiple editors on same page

    kommander47:
    I have the same problem with multiple editors and tried to add in this property but it is not recognized. I am using cute editor 6.5 for .net. Has this properties name been changed or the functionality programmed in elsewhere? Please help as this would greatly improve performance on my pages.
     
    Thanks
     
    Lorne
     
    Lorne,
     
    .NET version doesn't need this property.
     
    Demo:
     

    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