Load visual tree for all tabs

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    11 posts
    Member since:
    Mar 2008

    Posted 19 Feb 2010 Link to this post


    I have a form that contains a tab control.  Each tab has input controls (textbox, numeric, ect).  At the bottom of the form I have a custom status flag control.  Each input in the form contains a status flag within the status flag control.  When clicking the status flag, it sets focus the control its "attached" too.

    The problem is that if a tab is selected and I click a status flag for a control inside the tab item, it gains focus.  If I click a status flag for a control that is in a tab that currently isn't selected, the logic doesn't find the control.  After looking on this form I see that the tab item isn't attached to the tree until it is selected and then detached when another tab is selected.

    Is there a way to attached all controls within each tab to the control tree?  If the telerik tab control can't do this, can the silverlight toolkit tab control achieve what I'm looking for.

  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 23 Feb 2010 Link to this post

    Hello Kevin,

    No, unfortunately there is no way to load the visual tree for content that is not currently selected.

    As far as I know the Toolkit TabControl behaves similarly.

    This is done for performance reasons mainly since loading controls that are not visible is unnecessary.

    My suggestion is to databind the control that you want to change. This way you can change its status whenever you need by changing the property it is bound to and it will be updated when the user switches to its tab.

    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