Hi,
When I have, let's say, 6 or 7 RadEditor in a page (WCM), the loading of the page is quite slow : 10-15 seconds. The browser (IE6) is almost freezed during the loading.
I suppose it's because of all javascript codes in the component.
Is there a way to make it load faster?
Like to load only components when they are clicked or something like that?
Thanks...
Sylvain
When I have, let's say, 6 or 7 RadEditor in a page (WCM), the loading of the page is quite slow : 10-15 seconds. The browser (IE6) is almost freezed during the loading.
I suppose it's because of all javascript codes in the component.
Is there a way to make it load faster?
Like to load only components when they are clicked or something like that?
Thanks...
Sylvain
4 Answers, 1 is accepted
0
Hi Sylvain,
The new editor loads much faster than the current RadEditor for ASP.NET control - http://blogs.telerik.com/blogs/todd_anglin/archive/2007/08/30/radeditor_prometheus_up_to_76_percent_faster.aspx
Best regards,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Slower initial rendering of the RadEditor is caused by its large main script, which contains complex features such as unlimited Undo/Redo, Shortcut support, Crossbrowser library, Command Manager
ContextMenu, many content filters to format content and bring it closer to current XHTML standard, etc.
You can reduce the loading time by setting:
ContextMenu, many content filters to format content and bring it closer to current XHTML standard, etc.
You can reduce the loading time by setting:
- Enable your browser cache. If it is disabled, the pages with the editor control will load slower as all the cacheable items (scripts, images, etc) will be reloaded again.
- Set EnableDocking = false. //this property turns on or off the global functionality for toolbar and module docking.
- Set EnableClientSerialize = false // this property indicates whether RadEditor will save the state and positions of its toolbars and modules into a cookie.
- CacheLocalization = "true"
- Disable the RadEditor's ViewState by setting the EnableViewState property to false.
- Remove the CSS class tool from the ToolsFile.xml OR set only the CSS classes that you would like to appear in the CSS Dropdown rather than leaving the r.a.d.editor to read all of the CSS classes and populate the dropdown with all of them. Setting a small CSS list would skip processing all styles. You can do this from the RadControls/Editor/ToolsFile.xml file, from the codebehind or from your external Css file (please consult documentation if necessary)....
- Provide ToolsFile.xml with less tools for the editor for which you won't need all features.
- You could reduce the number of links in the Custom Links dropdown (if you have set such links).
You can also see the following KB article for more information: RadEditor loads slowly (high CPU utilization).
You can also test the following example in which the editor is with predefined set of tools: Custom Editors.
The new editor loads much faster than the current RadEditor for ASP.NET control - http://blogs.telerik.com/blogs/todd_anglin/archive/2007/08/30/radeditor_prometheus_up_to_76_percent_faster.aspx
Best regards,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

viex
Top achievements
Rank 1
answered on 06 Nov 2007, 02:16 PM
Hi Rumen,
Thanks a lot for this long post.
I will try your hints to make my web page load faster.
Sylvain
Thanks a lot for this long post.
I will try your hints to make my web page load faster.
Sylvain
0

viex
Top achievements
Rank 1
answered on 09 Nov 2007, 03:00 PM
Hi,
So : using your hints, the loading is faster.
However : it is still quite slow compare to the original Sharepoint Editor.
I think the big difference is that the sharepoint editor loads its components when you click on it.
In the other hand, the rad editor loads the components when the page loads.
Isn't it?
Is there a way to make the rad editor behave like the sharepoint editor?
Thanks a lot,
Sylvain
So : using your hints, the loading is faster.
However : it is still quite slow compare to the original Sharepoint Editor.
I think the big difference is that the sharepoint editor loads its components when you click on it.
In the other hand, the rad editor loads the components when the page loads.
Isn't it?
Is there a way to make the rad editor behave like the sharepoint editor?
Thanks a lot,
Sylvain
0
Hi Sylvain,
I have a couple of other suggestions that you can try to further improve the loading speed of the page containing the editors - set the following properties in the editor configuration:
<property name="ToolbarMode">ShowOnFocus</property>
<property name="EnableServerSideRendering">false</property>
These properties will make the editor toolbars render only after you click in the content area.
The current version of the MOSS RadEditor control does not support full load on demand. This means that it is not possible to replicate the behavior of the original MOSS rich text editor. We plan to introduce this feature when we update the MOSS control with the new version of the editor (RadEditor "Prometheus"). However, this update will happen only after an official release of the new editor.
Kind regards,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I have a couple of other suggestions that you can try to further improve the loading speed of the page containing the editors - set the following properties in the editor configuration:
<property name="ToolbarMode">ShowOnFocus</property>
<property name="EnableServerSideRendering">false</property>
These properties will make the editor toolbars render only after you click in the content area.
The current version of the MOSS RadEditor control does not support full load on demand. This means that it is not possible to replicate the behavior of the original MOSS rich text editor. We plan to introduce this feature when we update the MOSS control with the new version of the editor (RadEditor "Prometheus"). However, this update will happen only after an official release of the new editor.
Kind regards,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center