ASPxDashboardExporter Class

Performs server-side export of a dashboard/dashboard item displayed in the Web Dashboard.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v18.1.Web.WebForms.dll

Declaration

public class ASPxDashboardExporter :
    WebDashboardExporter
Public Class ASPxDashboardExporter
    Inherits WebDashboardExporter

The ASPxDashboardExporter class allows you to implement server export for the ASP.NET Dashboard Control and ASP.NET MVC Dashboard Extension. It uses information stored in a dashboard sate to determine the currently selected filters, drill-down levels and parameter values. The state overrides default values specified in dashboard items and parameters. An empty state for the ASPxDashboardExporter means that an end-user has cleared all filters and parameters, and canceled all drill-down operations.

Note

You should specify a dashboard state as the export method's parameter so that the exported document retains all dashboard adjustments, whether they are default or performed by an end-user.

You can also specify export options for the resulting document.

To initialize ASPxDashboardExporter for the specified ASPxDashboard control, pass the control's instance to the ASPxDashboardExporter constructor.

using DevExpress.DashboardWeb;
//...            
ASPxDashboardExporter exporter = new ASPxDashboardExporter(ASPxDashboard1);

Inheritance

Object
WebDashboardExporter
ASPxDashboardExporter

See Also