Hello,
I am having trouble trying to figure out the binding and I am not sure if it is possible.
I have a base node with several child nodes and within those child nodes I need to add additional child nodes.
I have managed to bind the first level child nodes, but I cannot figure out how to add the additional child nodes.
Below is a sample.
Thank you,
Chom
I am having trouble trying to figure out the binding and I am not sure if it is possible.
I have a base node with several child nodes and within those child nodes I need to add additional child nodes.
I have managed to bind the first level child nodes, but I cannot figure out how to add the additional child nodes.
Below is a sample.
Thank you,
Chom
IList<Project> project = new List<Project>();IList<Topic> topic = new List<Topic>();IList<Cloud> cloud = new List<Cloud>();IList<Trend> trend = new List<Trend>();IList<Schedule> schedule = new List<Schedule>();cloud.Add(new Cloud { Name = "cloud1" });cloud.Add(new Cloud { Name = "cloud2" });trend.Add(new Trend { Name = "trend 1" });trend.Add(new Trend { Name = "trend 2" });schedule.Add(new Schedule { Name = "sched 1" });schedule.Add(new Schedule { Name = "sched 2" });topic.Add(new Topic { Name = "Clouds", CloudAssociation = cloud });topic.Add(new Topic { Name = "Trends", TrendAssociation = trend });topic.Add(new Topic { Name = "Schedules", ScheduleAssociation = schedule });//Project.project.Add(new Project { Name = "My Project", TopicAssociation = topic });radTreeView1.DisplayMember = "Name\\Name\\Name";radTreeView1.ParentMember = "Project\\TopicAssociation";radTreeView1.ChildMember = "Project\\TopicAssociation\\CloudAssociation";radTreeView1.DataSource = project;