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

Cannot create hierarchical grid with EntityDataSource

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert Redfield
Top achievements
Rank 1
Robert Redfield asked on 18 Mar 2010, 11:58 PM
Can someone point me to a working example of a hierarchical parent-child rad grid using EntityDataSources?  I can display the parent table, but when I click to expand the child table, I get the following error:

'ClientID' is not a member of type 'WebcomKBModel.wc_Goal' in the currently loaded schemas., near multipart identifier, line 1, column 8.

I believe this is because my key field is not called "ClientID" in the child schema created by the EDMX modeler.  Its a navigational field which may need to be referenced with another name?   If anyone can point me to some working example that shows how the EntityDataSource should be setup for a Parent to Child relationship in a hierarchical grid, that would be great!

I can do it with a SqlDataSource, but not an EntityDataSource.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Mar 2010, 12:02 PM
Hello Robert,

I suggest you review the following forum thread, which elaborates on this subject and see if it helps to avoid this error:
http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-hierarchy-using-entitydatasource.aspx

Sincerely yours,
Pavlina
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
Grid
Asked by
Robert Redfield
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or