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

Slow postback performance with RadEditor in Radwindow control

5 Answers 102 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 13 Mar 2020, 05:57 PM

Hi there,

 

We currently have a setup where we have a RadEditor control embedded into a user control (.ascx). This user control is then embedded into the content template of a RadWindow control that is not visible by default. The user clicks a button, and we have it set up to where the RadWindow pops up and the RadEditor control is fully functioning. 

As is today, the setup works perfectly except for one issue: performance.

Using the network monitor, we've noticed that page loads and postbacks take anywhere between 900 ms to 1.4 seconds. If we take the RadEditor completely out of the code, this performance improves to 100ms to 200ms page loads and pstbacks.

So my question is are there any known performance issues regarding the RadEditor control inside of a RadWindow control?

 

For reference we are referencing Telerik.Web.UI.dll version 2019.2.514.45

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 Mar 2020, 02:30 PM

Hello,

Do you get better results if you change the content area of RadEditor to Div by setting ContentAreaMode property to DIV?

Here are some additional tips for editor load boosting:

If the result is still unsatisfactory, you can give a try of the Kendo UI Editor instead of RadEditor. The Kendo editor is entirely a client-side solution and it is very lightweight component.

Best Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
0
Aaron
Top achievements
Rank 1
answered on 17 Mar 2020, 06:41 PM

Hi there,

 

We have tried all options mentioned, and the performance of the RadEditor inside of a RadWindow is still extremely bad.

I also spent the afternoon with your suggestion of trying the Kendo UI Editor instead of the RadEditor (which was a good thought), but the Kendo UI Editor does not function with local scripts and with CDN scripts; only a bare textarea control is presented.

0
Rumen
Telerik team
answered on 17 Mar 2020, 10:04 PM

Hi Aaron,

You can see how to configure the Kendo UI widgets to load their script resources via CDN in this article: Using CDN, which also includes instructions on how to implement a local fallback. 

The live demos of the Kendo Editor also use CDN - https://demos.telerik.com/kendo-ui/editor/index, e.g.

Best Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
0
Aaron
Top achievements
Rank 1
answered on 18 Mar 2020, 08:56 PM

I have a solution in place. What I had to do was completely ditch the design revolving around the RadWindow. Instead I had to stand up a new ASPX page and place the RadEditor control there on it's own. Then I put appropriate links in place.This resolved the performance problems and I'm now getting less than 150 ms post back time (much better than 1 - 2 seconds). It does appear as if there is a performance problem with either the RadWindow, the RadEditor, or the combination of the controls in an AJAX setting. Stepping away from this design resolves it.

Using the editor from the Kendo UI was a good idea. But unfortunately it didn't really suit our architecture without heavy modifications to our architecture. It worked fine on it's own inside a pure HTML site, but did not function inside the confines of an ASP.NET AJAX project. In the end it wasn't giving us enough value to warrant the time and effort.

0
Rumen
Telerik team
answered on 19 Mar 2020, 09:14 AM

Hi Aaron,

Thank you for sharing your way of resolving the issue. I am very happy that you have found a solution to the performance problem that satisfies your project requirements.

If you have any other questions please let me know.

Best Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
Tags
Editor
Asked by
Aaron
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Aaron
Top achievements
Rank 1
Share this question
or