Loads a dashboard layout (layout items and layout containers) from an XML file.
public void LoadDashboardLayout(
Public Sub LoadDashboardLayout(
filePath As String
A String value that specifies the path to an XML file that contains the dashboard layout.
The dashboard uses layout items and layout containers to arrange dashboard items in a hierarchical structure. This structure is called a dashboard layout.
For detailed information, see Dashboard Layout.
Note that if SaveDashboardLayout(String) is used to save the layout and you change the name of a dashboard item or the number of items in the DashboardDesigner, the layout is rendered incorrectly when you use LoadDashboardLayout(String) to restore it.
The SaveDashboardLayout / DashboardControl.LoadDashboardLayout do not save a dashboard state. Use the DashboardControl.GetDashboardState and DashboardControl.SetDashboardState methods to obtain and apply the dashboard state, respectively. The DashboardControl.SetInitialDashboardState event restores the saved dashboard state.