This question is locked. New answers and comments are not allowed.
Hello Telerik
My silverlight App crashes when ever I use the ItemTemplate (since Update to Q1/2011 SP1.
I need to do the template because my Tab-Header should contain two lines and an Image.
My code (copy of http://www.telerik.com/help/silverlight/radtabcontrol-item-templates-and-selectors.html)
and my MainTabTemplate looks as follows:
Now, when I try to start the app I get the following Error:
What am I doing wrong?
Thank you for your support!
My silverlight App crashes when ever I use the ItemTemplate (since Update to Q1/2011 SP1.
I need to do the template because my Tab-Header should contain two lines and an Image.
My code (copy of http://www.telerik.com/help/silverlight/radtabcontrol-item-templates-and-selectors.html)
<telerik:RadTabControl ItemsSource="{Binding TabItems, Mode=OneWay}" ItemTemplate="{StaticResource MainTabTemplate}" /> and my MainTabTemplate looks as follows:
<DataTemplate x:Key="MainTabTemplate"> <Grid> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <TextBlock Grid.Row="0" TextWrapping="Wrap" Text="FIRST LINE"/> <TextBlock Grid.Row="1" TextWrapping="Wrap" Text="{Binding Header}"/> </Grid> </DataTemplate> Now, when I try to start the app I get the following Error:
A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in System.Windows.dll
Additional information: [Line: 0 Position: 0]
What am I doing wrong?
Thank you for your support!