I have a RadGrid and inside the RadGrid1.MasterTableView.NestedViewTemplate I have another RadGrid. The outer RadGrid is RadGrid1, the inner RadGrid is RadGrid2. Both the RadGrids were created from code behind. I've defined a relation, like this:
RadGrid1.MasterTableView.NestedViewSettings.ParentTableRelation.Add(New Telerik.Web.UI.GridRelationFields() With {.DetailKeyField = "ID", .MasterKeyField = "ID"})
My question is:
I have a NeedDatasource event for the inner RadGrid and I would like to filter by the ID of the parent row's ID. How can I do that?