This question is locked. New answers and comments are not allowed.
Hello everybody,
I'm using the Silverlight Q2 2013 version and I'm trying to add two times the same instance of an object, something like this:
I'm using the Silverlight Q2 2013 version and I'm trying to add two times the same instance of an object, something like this:
public class Person{ public string FirstName { get; set; } public List<Kid> Children { get; set; }}public class Kid{ public string FirstName { get; set; }}And then:
Kid kid1 = new Kid() { FirstName = "Kid" };List<Person> demos = new List<Person>() { new Person() { FirstName = "Person1", Children = new List<Kid>() {kid1, new Kid() {FirstName = "Kid12"}} }, new Person() { FirstName = "Person2", Children = new List<Kid>() {kid1, new Kid() {FirstName = "Kid22"}} }, };this.treeListView.ItemsSource = demos;Unfortunately, the object kid1 is only shown in Person2 and not Person1!
Important remark: This was working fine with an older Version of Telerik (maybe it was Q1 2012, I don't remember).
Any idea how to solve this?
Thanks!