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"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
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