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

HierarchicalDataTemplate - No HeadTemplate

1 Answer 90 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Bilal Haidar
Top achievements
Rank 2
Bilal Haidar asked on 06 Apr 2009, 09:14 AM
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



1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 06 Apr 2009, 11:07 AM
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.
Tags
TreeView
Asked by
Bilal Haidar
Top achievements
Rank 2
Answers by
Tihomir Petkov
Telerik team
Share this question
or