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

Using latest version of Telerik WPF I got: "System.Windows.Data Error: 25 : ItemTemplate and ItemTemplateSelector are not valid for item.; Type='RadTabItem'"

2 Answers 36 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
emi
Top achievements
Rank 1
emi asked on 27 Jul 2010, 05:43 AM
Hello,

previously everything worked as expected with RadTabs. Even trying the latest internal builds gave me the same error.
Doing simple things like :

<telerikNavigation:RadTabControl>
            <telerikNavigation:RadTabItem  Padding="4 1" DropDownContent="Slider" IsSelected="True">
                <telerikNavigation:RadTabItem.Header>
                    <Image Source="/Dashboard;component/Resources/test.png" Margin="3" />
                </telerikNavigation:RadTabItem.Header>
                <telerikNavigation:RadTabItem.Content >
   <Image Source="/Dashboard;component/Resources/test.png" Margin="3" />
                </telerikNavigation:RadTabItem.Content>
            </telerikNavigation:RadTabItem>

</telerikNavigation:RadTabControl>

crashes the application. Do you know about this issue or shall I come back with a quick test project to reproduce it?

Thanks,
Emanuel

2 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 27 Jul 2010, 10:00 AM
Hi Emanuel,

I tried to reproduce the error with the attached project but I could not.

Can you help us with this?  It seems that the error is related to ItemTemplate (Selectors) which I am missing.

Best wishes,
Miroslav
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
0
emi
Top achievements
Rank 1
answered on 27 Jul 2010, 07:44 PM
Finally, I was able to spot the issue and to fix my code. It had nothing to do with Telerik tabs. You can delete this thread.

Thanks for your help.
Tags
TabControl
Asked by
emi
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
emi
Top achievements
Rank 1
Share this question
or