Back to Devexpress

ASPxDashboard.AllowExportDashboard Property

dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-7aa84b6c.md

latest3.8 KB
Original Source

ASPxDashboard.AllowExportDashboard Property

Gets or sets whether the entire dashboard can be exported by end-users.

Namespace : DevExpress.DashboardWeb

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

NuGet Package : DevExpress.Web.Dashboard

Declaration

csharp
[DefaultValue(true)]
public bool AllowExportDashboard { get; set; }
vb
<DefaultValue(True)>
Public Property AllowExportDashboard As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , if end-users can export the entire dashboard; otherwise, false.

|

Remarks

Use the ASPxDashboard.AllowExportDashboardItems property to allow or disallow export of the dashboard items.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowExportDashboard 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-pdf-export-with-filter-values-on-different-pages/CS/ASPxDashboard_ServerExport/Default.aspx.cs#L15

csharp
{
    ASPxDashboard1.AllowExportDashboard = false;
    ASPxDashboard1.SetDashboardStorage(fileStorage);

web-forms-dashboard-implement-server-side-export/CS/ASPxDashboard_ServerExport/Default.aspx.cs#L12

csharp
protected void Page_Load(object sender, EventArgs e) {
    ASPxDashboard1.AllowExportDashboard = false;
    ASPxDashboard1.SetDashboardStorage(fileStorage);

web-forms-dashboard-pdf-export-with-filter-values-on-different-pages/VB/ASPxDashboard_ServerExport/Default.aspx.vb#L15

vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
    ASPxDashboard1.AllowExportDashboard = False
    ASPxDashboard1.SetDashboardStorage(fileStorage)

web-forms-dashboard-implement-server-side-export/VB/ASPxDashboard_ServerExport/Default.aspx.vb#L15

vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
    ASPxDashboard1.AllowExportDashboard = False
    ASPxDashboard1.SetDashboardStorage(fileStorage)

See Also

ASPxDashboard Class

ASPxDashboard Members

DevExpress.DashboardWeb Namespace