The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

WebReportsController.ExportToXlsAction Property

Gets the PrintReportTo_Xls Action.

Namespace: DevExpress.ExpressApp.ReportsV2.Web

Assembly: DevExpress.ExpressApp.ReportsV2.Web.v19.2.dll

Declaration

public SimpleAction ExportToXlsAction { get; }
Public ReadOnly Property ExportToXlsAction As SimpleAction

Property Value

Type Description
SimpleAction

A SimpleAction object that specifies the PrintReportTo_Xls Action.

Remarks

The PrintReportTo_Xls Action exports the report to an XLS file and initiates file download. This Action is not visible by default. To activate it, set the ReportsAspNetModuleV2.ShowFormatSpecificExportActions property to true. You can also execute this Action instead of WebReportsController.PreviewInReportViewerAction by setting the ReportsAspNetModuleV2.DefaultPreviewFormat property to Xls. These properties can be specified in the Module Designer or in the Application Designer when the ReportsAspNetModuleV2 component is focused.

See Also