Hello,
we use Telerik in our Company. We use a lot of GridViews and here are my Questions:
1. What is the best and fastest way to bind data to a datasource. We use lists for binding. Are datasets or arrays faster? Should i use binding sources or do they cost time?
2. I have a hierachal GridView. I dont aant to work with datasets. I work with Objects.
I have a class for example City with some properties and a nested list of people objects.
Now my solution is to make an relation between thos two. Each people Object has an ID of its city.
But to bind that i have to make a new list which has alle people from all cities and then i can bind it.
But i would like to bind it without makin the new list.
I wolud have it like the childgrid binds to the list of people in the city.
gridView.datasource = List<City>
gridView.Template...[0].DataSource = here I would like to have exactlöy the nested list in city but i have a list of alle people from all cities?
How can I solve that?
Thanx Thomas
we use Telerik in our Company. We use a lot of GridViews and here are my Questions:
1. What is the best and fastest way to bind data to a datasource. We use lists for binding. Are datasets or arrays faster? Should i use binding sources or do they cost time?
2. I have a hierachal GridView. I dont aant to work with datasets. I work with Objects.
I have a class for example City with some properties and a nested list of people objects.
Now my solution is to make an relation between thos two. Each people Object has an ID of its city.
But to bind that i have to make a new list which has alle people from all cities and then i can bind it.
But i would like to bind it without makin the new list.
I wolud have it like the childgrid binds to the list of people in the city.
gridView.datasource = List<City>
gridView.Template...[0].DataSource = here I would like to have exactlöy the nested list in city but i have a list of alle people from all cities?
How can I solve that?
Thanx Thomas