HierarchicalDataTemplate - No HeadTemplate

2 posts, 0 answers
  1. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 06 Apr 2009 Link to this post

    Hello,
    I am receiving an exception saying that the HierarchicalDataTemplate is missing the HeadTemplate.

    <core:HierarchicalDataTemplate x:Key="Division" ItemTemplate="{StaticResource Team}" ItemsSource = "{Binding Teams}" HeaderTemplate="{StaticResource Team}" />

    Where can I get more info about HierarchicalDataTemplate, I need to understand more how it works.

    Thanks



  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 06 Apr 2009 Link to this post

    Hello Bilal,

    You can take a look at this KB article for an example of  how to use a HierarchicalDataTemplate:

    http://blogs.telerik.com/kirilstanoev/posts/08-08-27/Populating_Silverlight_TreeView_from_WCF_Service_with_LINQ_to_SQL.aspx

    Let me know if you have further questions.

    All the best,
    Tihomir Petkov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top