The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.Web.WebForms.dll

Declaration

[DefaultValue("")]
public string DashboardXmlPath { get; set; }
<DefaultValue("")>
Public Property DashboardXmlPath As String

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

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 a 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.

ASPxDashboard1.DashboardXmlPath = Server.MapPath("App_Data/MyDashboard.xml");
See Also