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

Force all tab content to load

3 Answers 111 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 10 Jun 2011, 05:16 PM
Hello:

We are experiencing a problem with the Tab control, where there is a perceptable delay every time you switch from one tab to another. 

We have managed to reduce some of the lag by setting IsContentPreserved = true (now we only get the lag the first time we click on a tab, switching back and forth is instantaneous.

Since IsContentPreserved did clear up the problem, I was thinking that if I could force the tab control to load all of its content during form load, then I might get better performance. 

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 15 Jun 2011, 03:40 PM
Hello Jeremy,

I guess your application is heavy (a lot of resourceful controls are used in the TabItems) since there is a delay. So forcing the load operations of all RadTabitems on FormLoad would be a very bad practice and will lock your UI thread for an unacceptable time period probably.

Greetings,
Petar Mladenov
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
Matt
Top achievements
Rank 1
answered on 15 Jun 2011, 03:53 PM
There are a fair number of controls.  (that said, this is a reproduction of a Windows application, and we do not see this sort of lag with the very same form layouts in our windows app).

We found that performance was quite a bit better when we stopped using the Telerik tab control and switched to the tab control in the Silverlight toolkit.

I had hoped that there was a way to turn off the delayed control loading in the Telerik tab so that we could compare the form load experience with the feature on or off.
0
Petar Mladenov
Telerik team
answered on 20 Jun 2011, 02:54 PM
Hi Jeremy,

Unfortunately, there is no way to turn off/on this delayed loading in the RadTabControl. Please let us know if you need more info or advice.

Regards,
Petar Mladenov
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
TabControl
Asked by
Matt
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Matt
Top achievements
Rank 1
Share this question
or