Scroll button only visible after window resizing

2 posts, 0 answers
  1. Jose Simas
    Jose Simas avatar
    35 posts
    Member since:
    Mar 2009

    Posted 28 May 2010 Link to this post


    I came across this scenario that appears to be a bug. When I bind a series of items to a RadTabControl that is not wide enough to show them the scroll buttons do not appear until I resize the window. This is the simplest way to duplicate:


    <Window x:Class="Workbench.RadTabControlTest"
            xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" Title="RadTabControlTest" Height="400" Width="500">
                Click="Button_Click">Set Items</Button>

    And the code behind:

    public partial class RadTabControlTest: Window
            public RadTabControlTest()

            private void Button_Click(object sender, RoutedEventArgs e)
                tabs.ItemsSource = new[] {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"};

    I am using the latest release and the project is .NET 4.0.

    Am I doing something wrong?

  2. Bobi
    Bobi avatar
    513 posts

    Posted 02 Jun 2010 Link to this post

    Hi Jose Simas,

    All you need to do is to use the following code:
    private void Button_Click(object sender, RoutedEventArgs e)
                tabs.ItemsSource = new[] { "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
    I  hope that this will help you. Please let us know if you have any other questions or need some more help.

    All the best,
    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