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

EF inheritance and the data grid

1 Answer 59 Views
GridView
This is a migrated thread and some comments may be shown as answers.
mam
Top achievements
Rank 1
mam asked on 31 Oct 2010, 09:56 AM
Hi,

I am actually evaluating a powerful grid and I am choosing between the yours, the devexpress one and xceed.

Everything is working fine except one problem :

I am modeling data using entity framework. In my modeling, the class 'Collaborator' is teh base class for the other class 'User'.

I am getting coll which is the collection of type 'Collaborator'. So, the collection will contain instances of both classes.

If I bind the grid to a collectionviewsource created on coll I get blank rows and sometimes exceptions are thrown. (an Observable collection is created as an intermediary object).

If I bind directly to coll everything goes well.

So, what's the problem ?

Best regards

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 04 Nov 2010, 10:40 AM
Hi mam,

Can you please paste the implementation of your classes. I will gather a small rerpo project with them in order to isolate what is causing the problem .

Greetings,
Pavel Pavlov
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
GridView
Asked by
mam
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or