Back to Devexpress

ASPxDashboard.DashboardStorageFolder Property

dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-dae5efde.md

latest3.5 KB
Original Source

ASPxDashboard.DashboardStorageFolder Property

Gets or sets the path to a folder used to keep dashboards.

Namespace : DevExpress.DashboardWeb

Assembly : DevExpress.Dashboard.v25.2.Web.WebForms.dll

NuGet Package : DevExpress.Web.Dashboard

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the path to a folder used to keep dashboards.

|

Remarks

Note that specifying the DashboardStorageFolder property is an equivalent of creating a DashboardFileStorage.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardStorageFolder 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.

web-forms-dashboard-color-dashboard-item-elements/CS/ASPxDashboard_ElementCustomColor/WebForm1.aspx.cs#L6

csharp
protected void Page_Load(object sender, EventArgs e) {
    ASPxDashboard1.DashboardStorageFolder = Server.MapPath("App_Data/Dashboards");
}

dashboard-constant-lines/CS/WebDashboardSample/WebForm1.aspx.cs#L22

csharp
clModule.Attach(ASPxDashboard1);
ASPxDashboard1.DashboardStorageFolder = DashboardFolder;
ASPxDashboard1.SetConnectionStringsProvider(new ConfigFileConnectionStringsProvider());

web-forms-dashboard-color-dashboard-item-elements/VB/ASPxDashboard_ElementCustomColor/WebForm1.aspx.vb#L9

vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
    ASPxDashboard1.DashboardStorageFolder = Server.MapPath("App_Data/Dashboards")
End Sub

See Also

ASPxDashboard Class

ASPxDashboard Members

DevExpress.DashboardWeb Namespace