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

Performance issue using RadWindow and RichTextEditor

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ola Karlsson
Top achievements
Rank 1
Ola Karlsson asked on 22 Dec 2010, 08:48 AM
Hi,

I'm trying to use RadWindow and the RichTextbox (with Ribbon control) together, however the performance is terrible.

Hopefully I'm doing something wrong and maybe someone here can point me in the right direction.

I have a RadWindow (in it's own control), in the control/window, I have a RichTextbox with an associated Ribbon Control. I new this up from code behind and show the window with the .ShowDialog() command. When this is initially run, it takes about 5-6 sec for the window with the editor to appear.

I tried to add a busy indicator for while this is loading but it's not working (I'm guessing the loading of the editor is blocking it).
After the initial load, the load time is quick and totally acceptable but that initial hit, makes it unusable.

I've made a sample project available here http://beta.sabukat.com/Sabukat/shared/RadBusyIndicatorSilverlightApp.zip, any suggestions on this would be greatly appreciated.

Thanks,
Ola

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex
Telerik team
answered on 24 Dec 2010, 10:15 AM
Hello Ola Karlsson,

The RadRichTextBox and RadRibbonBar controls are quite heavy and it is normal the initial load time to be noticeable. Although we didn't manage to get the 5-6 seconds lag you were writing about we agree that the first time the window is opened it is a little slower than expected. However, we managed to achieve significant performance improvement by calling the constructor of TestRadWindowWithEditor before the button click event (for example in the MainPage constructor or in the Loaded event of the page) and then showing the already prepared window.

About the busy indicator -  you were right. The UIThread is blocked by the loading of the control, which makes the busy indicator not usable in this case.

I hope this was helpful. Please don't hesitate to write us again.

All the best,
Alex
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
General Discussions
Asked by
Ola Karlsson
Top achievements
Rank 1
Answers by
Alex
Telerik team
Share this question
or