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.v20.2.Web.WebForms.dll
Declaration
[DefaultValue("")]
public string DashboardXmlPath { get; set; }
<DefaultValue("")>
Public Property DashboardXmlPath As String
Property Value
Type | Default | Description |
---|---|---|
String | 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.
Examples
The code snippet below shows how to display the dashboard stored in the XML file using the ASPxDashboard.DashboardXmlPath property.