Skip to main content

ASPxDashboardExporter Class

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

Namespace: DevExpress.DashboardWeb

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

Declaration

public class ASPxDashboardExporter :
    WebDashboardExporter

Remarks

The ASPxDashboardExporter class allows you to implement server export for the Web Forms Dashboard Control. It uses information stored in a dashboard state 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. The ASPxDashboardExporter inherits members of the WebDashboardExporter class.

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. See Manage Exporting Capabilities to learn more.

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);

[!exampleImplement server-side export View Example: Add custom information to the exported dashboard View Example: Export a dashboard to PDF with different filter values on different pages

Use the following classes to perform server-side export for other platforms:

Inheritance

See Also