This is a migrated thread and some comments may be shown as answers.

Performance Issues

4 Answers 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bhaskar
Top achievements
Rank 1
Bhaskar asked on 11 Aug 2010, 08:48 AM
Hi

We are trying to copy and paste 20-30 pages of a word document containing tables into the telerik rad editor and it is hung and
unresponsiveness any further editing/deleting that we are trying to do is taking a lot of time. 


What is the maximum amount of data a telerik rad editor can support with out any performance issues?


Regards,
Kishore


4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Aug 2010, 04:21 PM
Hi Bhaskar,

My recommendation to optimize the loading speed when loading large content in RadEditor is to upgrade to the latest version Q2 2010 (version 2010.2.713) of RadControls for ASP.NET AJAX (Telerik.Web.UI.dll) which will allow you to disable the Undo/Redo functionality which drastically slows down the loading and editing speed of large content. To disable the Undo / Redo feature just remove the Undo and Redo buttons from the toolbar by following the instructions in this KB article: Removing Toolbar Buttons. If you use a toolsfile.xml configuration file, just delete the Undo and Redo tool tags.

The information below could be helpful for your scenario as well:

There are five main reasons responsible for the slow editor performance when editing large XHTML/HTML files (>100KB) in the older version.

Reason 1: The undo/redo mechanism and other maintenance code that ensures the smooth user experience - it gets increasingly cumbersome and time consuming for the browser to execute it if huge content is in the editor.
Reason 2: The fact that most of the editor functionality is implemented in JavaScript, thus resulting in 10 times slower performance compared to native compiled code.
Reason 3: test the performance only when <compilation debug="false" in your web.config. When it is true, the MS AJAX debugging code kicks in and causes a severe performance hit on the client-side.
Reason 4: Remove the RadEditor modules, e.g.

<telerik:radeditor runat="server" ID="RadEditor1">
    <Modules>
        <telerik:EditorModule Visible="false" />
    </Modules>

</telerik:radeditor>

Reason 5 (valid when switching between the view modes or submitting the content): In difference with the TextBox control which does not process the content when submitting it to the server, the RadEditor runs content filters which validate the non well formatted content and make it XHTML compliant. Right now the editor runs more than 11 content filters. These filters run regular expressions which parse and validate the large content, which slow down the content submission to the server. You can disable the filters by setting ContentFilters property to None, e.g.

<telerik:RadEditor ID="RadEditor1" ContentFilters="None" runat="server"></telerik:RadEditor> 

The policy behind all RadControls is that they should be cross-browser and should offer similar experience over different browsers and OS-es. At present the editor supports IE under Windows, Mozilla Firefox under all platforms, Opera under all platforms and Safari under Mac. Such cross-browser functionality is possible only with JavaScript - no other option exists.
Being cross-browser is a top priority, and thus at present it rules out changing the editor's technology.

We are constantly working on improving the speed, but the browsers do have their limits, and it is not hard to reach them when editing large content in the editor.

You can find more information in the following KB article: RadEditor loads slowly (high CPU utilization).


Sincerely yours,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bhaskar
Top achievements
Rank 1
answered on 12 Aug 2010, 02:22 PM
Hi Rumen,

Thanks for the patient and elaborative reply. It was very helpful.

Regards,
Bhaskar
0
Bhaskar
Top achievements
Rank 1
answered on 12 Aug 2010, 03:24 PM
Hi,

Can someone tell me the significance of each content filter of RadControls for ASP.NET AJAX . This will be very helpful indeed.

Thanks,
Bhaskar
0
Rumen
Telerik team
answered on 17 Aug 2010, 01:17 PM
Hi Bhaskar,

You can find information and description for the different content filters of RadEditor in this article: Content Filters.

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Bhaskar
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Bhaskar
Top achievements
Rank 1
Share this question
or