hi,
actually I'm tring to populate treeview from WCF , but I get AG_E_UNKNOWN_ERROR in xaml page line 11
actually I'm tring to populate treeview from WCF , but I get AG_E_UNKNOWN_ERROR in xaml page line 11
<UserControl.Resources>
11: <local:HierarchicalDataSource x:Key="Source" />
<core:HierarchicalDataTemplate x:Key="NodeTemplate" ItemsSource="{Binding Children}">
<core:HierarchicalDataTemplate.HeaderTemplate>
<DataTemplate>
<TextBlock Text="{Binding NodeText}" TextWrapping="Wrap" Width="400"/>
</DataTemplate>
</core:HierarchicalDataTemplate.HeaderTemplate>
</core:HierarchicalDataTemplate>
</UserControl.Resources>
what is the problem with my code?
6 Answers, 1 is accepted
0
Hi reema,
what is local:HierarchicalDataSource?
Are you sure it is defined and it exists?
Sincerely yours,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
what is local:HierarchicalDataSource?
Are you sure it is defined and it exists?
Sincerely yours,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
reema
Top achievements
Rank 1
answered on 07 Jan 2009, 07:33 AM
yes sure cause i just copied what is in Telerik Blogs > Populating Silverlight TreeView from WCF Service with LINQ to SQL
thanx ..
0
Accepted
Hi reema,
The blog post you are refering to happens to be a bit outdated and we will update it ASAP. I am sending you a working example which correctly demonstrates what's described in the article. Let me know if this solves your problem.
Best wishes,
Tihomir Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The blog post you are refering to happens to be a bit outdated and we will update it ASAP. I am sending you a working example which correctly demonstrates what's described in the article. Let me know if this solves your problem.
Best wishes,
Tihomir Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
reema
Top achievements
Rank 1
answered on 11 Jan 2009, 08:38 AM
yes thanx a lot it is okay now.
0
Mark
Top achievements
Rank 1
answered on 19 Apr 2011, 03:45 PM
Another example where information is would be more beneficial than a download. This practice of "example only" is not the best choice for those seeking information.
0
Hi Mark,
We appreciate your feedback and will try to be more detailed in our answers. Thank you for your cooperation.
All the best,
Petar Mladenov
the Telerik team
We appreciate your feedback and will try to be more detailed in our answers. Thank you for your cooperation.
All the best,
Petar Mladenov
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