Hi,
I am developing a BI dashboard that allows users to create and save customised dashboard pages based on a set of pre-defined templates. The templates will either be a set of RadTileViews or a RadDocking control with a set of RadPanes. The user will be able to add business objects to each RadPane via an additional context menu option and the layout state and also content state of each pane needs to be persisted between sessions.
I am using Prism and MVVM as in the Telerik dashboard example but am struggling with the best approach for dynamically loading and saving the dashboard pages state and content. I have played with the SaveLayout and LoadLayout methods of the RadDocking control, and this works fine for statically declared controls. I have also looked at the ElementLoading event in order to load content based on the SerializedTag property, but this doesn't seem to fit with using a dynamically loaded template.
Do the team have any advise on the best way to implement this? When loading a dashboard page the application needs to know the template to load, apply saved layout, then load the correct business object into each RadPane and again apply state information (this will be custom state).
Any advise would be greatly appreciated.
Regards,
Chris
I am developing a BI dashboard that allows users to create and save customised dashboard pages based on a set of pre-defined templates. The templates will either be a set of RadTileViews or a RadDocking control with a set of RadPanes. The user will be able to add business objects to each RadPane via an additional context menu option and the layout state and also content state of each pane needs to be persisted between sessions.
I am using Prism and MVVM as in the Telerik dashboard example but am struggling with the best approach for dynamically loading and saving the dashboard pages state and content. I have played with the SaveLayout and LoadLayout methods of the RadDocking control, and this works fine for statically declared controls. I have also looked at the ElementLoading event in order to load content based on the SerializedTag property, but this doesn't seem to fit with using a dynamically loaded template.
Do the team have any advise on the best way to implement this? When loading a dashboard page the application needs to know the template to load, apply saved layout, then load the correct business object into each RadPane and again apply state information (this will be custom state).
Any advise would be greatly appreciated.
Regards,
Chris