ASPxDashboard.DashboardXmlPath Property
Gets or sets the path to the XML definition of a dashboard to be loaded to ASPxDashboard.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A String that specifies the path to the XML definition of a dashboard to be loaded to ASPxDashboard. |
Remarks
An XML file should be located on the server.
To learn more about different methods of loading a dashboard, see Loading a Dashboard.
Note
Note that if you load a dashboard using DashboardXmlPath or ASPxDashboard.OpenDashboard, end-users will not be able to create new dashboards. To allow end-users to create new dashboards, create dashboard storage using ASPxDashboard.DashboardStorageFolder or ASPxDashboard.SetDashboardStorage.
Example
The code snippet below shows how to display the dashboard stored in the XML file using the ASPxDashboard.DashboardXmlPath
property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardXmlPath property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.