The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Generating Tree View Nodes from XML file in Silverlight 3 Application
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Raja SekharPosted Jan 23, 2013, 12:12 AM
Thanks a lot
Ayan ChaudhuriPosted Jan 1, 2010, 1:32 AM
That is really a nice example for recursive binding. But how to do it in VB ? I tried, but failed. Actually the problem is in the: private List<Category> GetCategories(XElement element) { return (from category in element.Elements("category") select new Category() { Name = category.Attribute("name").Value, SubCategory = this.GetCategories(category) }).ToList(); } I can't find : Name = category.Attribute("name").Value, SubCategory = this.GetCategories(category) Please Help.