We have successfully implemented saving the state of our custom component main grid with browser local storage, using this example.
We have sub-grids in the main grid via the DetailTemplate section, for example:
<TelerikGrid Data="@Data"
@ref="@GridReference">
<DetailTemplate>
@{
var ctx = context as ExpandoObject;
<CustomSubgrid Context="@ctx" Property="Expanded" @ref="@SubGrid"></CustomSubgrid >
}
</DetailTemplate>
Each page using the custom main grid has a unique state storage key - e.g.:
StateStorageKey="ThisPage_MainDynamicGrid"
Is it possible to do a similar saving and loading of the sub-grids states, if they are dynamically loaded via the DetailTemplate?
I may add that we would like to implement it as a one-button solution, so part of the current Save & Load State buttons for the main grid.