Force all tab content to load

4 posts, 0 answers
  1. Matt
    Matt avatar
    10 posts
    Member since:
    Mar 2011

    Posted 10 Jun 2011 Link to this post

    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. 
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 15 Jun 2011 Link to this post

    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
  3. DevCraft banner
  4. Matt
    Matt avatar
    10 posts
    Member since:
    Mar 2011

    Posted 15 Jun 2011 Link to this post

    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.
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 20 Jun 2011 Link to this post

    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
Back to Top