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

3 posts, 0 answers
  1. emi
    emi avatar
    8 posts
    Member since:
    Aug 2009

    Posted 27 Jul 2010 Link to this post

    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. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 27 Jul 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. emi
    emi avatar
    8 posts
    Member since:
    Aug 2009

    Posted 27 Jul 2010 Link to this post

    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.
Back to Top