Hello, Telerik Team,
I have a question about hierarchical RadGrids. I have a hierarchical RadGrid, called RadGrid1. Inside RadGrid1.MasterTableView.NestedViewTemplate I have another grid, RadGrid2. Both of the RadGrids are created from code behind. I've defined this relation:
RadGrid1.MasterTableView.NestedViewSettings.ParentTableRelation.Add(New Telerik.Web.UI.GridRelationFields() With {.DetailKeyField = "ID", .MasterKeyField = "ID"})
My question is: How can I get the ID of the parent table in RadGrid2.NeedDatasource event?
Thank you in advance,
Lajos Arpad.
I have a question about hierarchical RadGrids. I have a hierarchical RadGrid, called RadGrid1. Inside RadGrid1.MasterTableView.NestedViewTemplate I have another grid, RadGrid2. Both of the RadGrids are created from code behind. I've defined this relation:
RadGrid1.MasterTableView.NestedViewSettings.ParentTableRelation.Add(New Telerik.Web.UI.GridRelationFields() With {.DetailKeyField = "ID", .MasterKeyField = "ID"})
My question is: How can I get the ID of the parent table in RadGrid2.NeedDatasource event?
Thank you in advance,
Lajos Arpad.