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

[Solved] grid detailtables

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeroen Eikmans
Top achievements
Rank 1
Jeroen Eikmans asked on 24 Jul 2009, 03:13 PM
I have a RadGrid with a detailtable. That detailtable also has it's own detailtable.
The RadGrid has DataKey CustomerID, the first DetailTable has DataKey OrderID.

In the second DetailTable i have a gridrelation to the MasterKeyField OrderID and this is working great.
However now i need the CustomerID of the RadGrid itself as well in the second DetailTable, a gridrealtion to MasterKeyField CustomerID doesn't work because the first DetailTable doesn't have the CustomerID.

Is there someway that i can use the GridRelation so it can access the proper CustomerID? Or is there another way to do this?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 29 Jul 2009, 10:15 AM
Hi Roel,

Please note that you need to define the ParentTableRelations/DataKeyNames for the MasterTableView/GridTableViews according to the database relations conventions (presented in the screenshot here).
Additional information is available in this help article.

Greetings,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Jeroen Eikmans
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or