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

Initial loading time of controls

2 Answers 69 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Trude
Top achievements
Rank 2
Trude asked on 25 Jun 2010, 02:50 PM
I have set up an interface where a user can click on a button and a richtextbox (with ribbon interface) opens. It works perfectly, but the first time it opens there is a small delay, maybe 1-2 seconds, after the button is pressed and the richtextbox opens (all is done in code behind). All subsequent actions are instant. Is there a best practice to preload the controls so that the user doesn't experience this? (worst-case scenario is a loading animation, but how to do that with controls?)

2 Answers, 1 is accepted

Sort by
0
Trude
Top achievements
Rank 2
answered on 28 Jun 2010, 09:23 AM
I have worked around this by creating a dummy reference (Dim _rtb as New my_richtextbox) to the user control that hosts the richtextbox when the application starts. When the user now presses the button for the first time - the editor opens instantly.
0
Mike
Telerik team
answered on 29 Jun 2010, 08:08 AM
Hi Jorn,

We are glad that you found a solution. Nevertheless we will investigate the possible reasons for this behavior and let you know if we are able to fix the problem another way.

Best wishes,
Mike
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
RichTextBox
Asked by
Trude
Top achievements
Rank 2
Answers by
Trude
Top achievements
Rank 2
Mike
Telerik team
Share this question
or