Adding TabItem w/o activating it?

2 posts, 0 answers
  1. Charles Bates
    Charles Bates avatar
    45 posts
    Member since:
    Feb 2010

    Posted 27 Jun 2011 Link to this post

    We have a multi-user application.
    User A can add a tab item to the TabControl, and that information is sent to the server.
    When user B receives an update, the app will create a new tab (the one user A added).
    However, we don't want to activate the new tab, forcing the focus away from what user B was looking at.

    How can we add a new RadTabitem to the RadTabControl w/o the new TabItem becoming current?

    Thanks for any tips...
    Telerik Controls 2010.1.0422.1030
  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 30 Jun 2011 Link to this post

    Hello Charles Bates,

    Can you please elaborate on your scenario more? Because by default when a RadTabItem is added to the RadTabControl.Items collection, it is only selected if its IsSelected property is set to true.

    So if you don't want to select a newly added item you can set its IsSelected property to false. But since I am not sure how your adding logic is implemented, I am not sure what might be causing the issue.

    Best wishes,
    Tina Stancheva
    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 R3 2016 release webinar banner
Back to Top