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

Binding nested objects

1 Answer 67 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 23 Jul 2010, 06:50 PM
Heres a sample structure

Area->Student->Person

So I want to have a combo box which contains every person who exists in Area.  However the DataTextField exists way back in Person.  So I can get that by navigating up the reference fields in the code behind, but I have NO idea how to do this in the markup...whenever I try and nest the object like if I set the DS to Area, then do Student.Person.FirstName it will tell me Student or Person isn't a property of Area...

How do I configure the OADataSource to do that?

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 29 Jul 2010, 01:31 PM
Hi Steve,

 I would advice you to have a look in this blog post. The blog post explains how to handle hierarchical set of data. Even though the blog is targeted at our data source in combination with a rad grid the same is achieved with combo box as well. I hope you find the blog post useful.
Please do contact us if you face any problems.

Best wishes,
Petar
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
Tags
Design Time (Visual Designer & Tools)
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
PetarP
Telerik team
Share this question
or