I have a RadGridView that displays summary data for a group of parent records.
On it I have a HierarchyChildTemplate, defining another RadGridView that displays summary data for a group of child records. In this inner grid, I have a RowDetailsTemplate that contains a RadDataForm that displays detailed data for the child records. The inner grid has RowDetailsVisibilityMode="VisibileWhenSelected".
What I want is to add a context menu that toggles RowDetailsVisibilityMode to "Collapsed".
I have a reference to the parent grid. What I can't figure out is how to get a reference to the child grids that are generated from the template.
On it I have a HierarchyChildTemplate, defining another RadGridView that displays summary data for a group of child records. In this inner grid, I have a RowDetailsTemplate that contains a RadDataForm that displays detailed data for the child records. The inner grid has RowDetailsVisibilityMode="VisibileWhenSelected".
What I want is to add a context menu that toggles RowDetailsVisibilityMode to "Collapsed".
I have a reference to the parent grid. What I can't figure out is how to get a reference to the child grids that are generated from the template.