This is a migrated thread and some comments may be shown as answers.

RadTabItem content exception

1 Answer 37 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Miłosz Cechnicki
Top achievements
Rank 1
Miłosz Cechnicki asked on 17 Nov 2011, 01:42 PM
Error occures only with Silverlight 5 beta runtime installed. Remove this post, please

When setting RadTabItem content, there is a runtime (event sometimes design-time) exception:
Set property 'System.Windows.Controls.ContentControl.Content' threw an exception.


<UserControl x:Class="RadTabControlTestProject.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
 
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadTabControl>
            <telerik:RadTabItem>
                <!--<Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>
                    <TextBlock Text="Sample text:" />
                </Grid>-->
                <TextBlock Text="Sample Text" />
            </telerik:RadTabItem>
        </telerik:RadTabControl>
    </Grid>
</UserControl>

Exception occures even on Your demos website ;) http://demos.telerik.com/silverlight/#TabControl/FirstLook

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 22 Nov 2011, 11:51 AM
Hello MiƂosz,

There are certain issues we're having against the publicly available SL5 RC version. These issues have been resolved now thanks to our close cooperation with MS. However, since there is no more recent official version rather than SL5 RC, we cannot officially announce anything till the SL5 RTM is out.

I wanted to share this information in case others encounter the same issues with the publicly available SL5 RC version.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TabControl
Asked by
Miłosz Cechnicki
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or