This question is locked. New answers and comments are not allowed.
I am trying to write the treeview control using LoadOnDemand and HierarchialDataTemplates. The parent nodes load fine but then when I click on one the loading circle runs and nothing else happens. I have stepped through the code and Folders (an ObservableCollection<FolderNode>) does have data so not sure what is wrong. here is my xaml:
<UserControl.Resources > <DataTemplate x:Key="FolderItemTemplate"> <TextBlock Text="{Binding FolderName}"/> </DataTemplate> <telerik:HierarchicalDataTemplate x:Key="WorkspaceTemplate" ItemsSource="{Binding Folders}" ItemTemplate="{StaticResource FolderItemTemplate}"> <TextBlock Text="{Binding Name}"/> </telerik:HierarchicalDataTemplate> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="White"> <nav:RadTreeView ItemTemplate="{StaticResource WorkspaceTemplate}" IsExpandOnSingleClickEnabled="True" ItemsSource="{Binding Workspaces}" IsLoadOnDemandEnabled="True" LoadOnDemand="RadTreeView_LoadOnDemand"> </nav:RadTreeView> </Grid>