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

[Solved] Invalid XAML /w HierarchialTemplate

1 Answer 84 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jack
Top achievements
Rank 1
Jack asked on 25 May 2009, 09:19 PM
I am having an issue in Blend where I get an invalid XAML error on Line xx, Col 2 (line 5/first char of second Template below).

It works fine in VS and in the app but won't display in Blend.  If I remove the <TextBlock .../> then it stops complaining but then I can't format my data column.

        <telerik:HierarchicalDataTemplate x:Key="DataEntryTasksTemplate"  > 
            <TextBlock Text="{Binding Path=ScheduledTaskName}" Foreground="Black" FontSize="10" /> 
        </telerik:HierarchicalDataTemplate> 
 
        <telerik:HierarchicalDataTemplate x:Key="ProtocolTasksTemplate" 
            ItemTemplate="{StaticResource DataEntryTasksTemplate}" 
            ItemsSource="{Binding Path=DataEntryTasks}"
            <TextBlock Text="{Binding Path=ScheduledTaskName}" Foreground="Black" FontSize="11" /> 
        </telerik:HierarchicalDataTemplate> 
 
       
Any ideas?

thanks

jack

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 26 May 2009, 01:12 PM
Hi Jack,

We apologize for this problem. We will do our best to find solution and provide it in the next Q2 release.

All the best,
Dimitrina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
Jack
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or