RadTabControl headers show in design but not when running

2 posts, 0 answers
  1. Richard
    Richard avatar
    23 posts
    Member since:
    Jan 2017

    Posted 15 Mar 2018 Link to this post

    Can you see any reason why the headers on my RadTabControl show in design view but when I run the app they do not show?  I attached a screenshot to show what it looks like.

    <Grid Background="LightGray">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="10"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="10"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="50"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="50"/>
            </Grid.RowDefinitions>
            <StackPanel Grid.Row="1" Grid.Column="1">
                <telerik:RadTabControl Height="400" >
                    <telerik:RadTabControl.Items>
                        <telerik:RadTabItem Header="Generate Scripts" Foreground="white">
                            <telerik:RadTabItem.Content>
                                <Border Background="Bisque">
                                    <TextBlock Text="The content of tab item 1" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" Foreground="Black"/>
                                </Border>
                            </telerik:RadTabItem.Content>
                        </telerik:RadTabItem>
                       
                        <telerik:RadTabItem Header="Admin" Foreground="white"/>
                        <telerik:RadTabItem Header="Users" Foreground="white"/>
                        <telerik:RadTabItem Header="Program / Hulls" Foreground="white"/>
                    </telerik:RadTabControl.Items>
                </telerik:RadTabControl>        
            </StackPanel>
        </Grid>

  2. Sia
    Admin
    Sia avatar
    745 posts

    Posted 19 Mar 2018 Link to this post

    Hello,

    I did not manage to reproduce the reported issue locally. Please check the attached project. In order to find the reason behind it I will need some more details about your setup:

    - Your Telerik binaries' version
    - The Visual Studio version
    - Do you use XAML or NoXAML binaries?
    - How do you set the theme?
    - Does the issue occur in isolated project or only in your main application?

    Generally the reported issue seems strange to me and I do not remember such reports before.

    Regards,
    Sia
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top