ReportsAspNetModule.ShowFormatSpecificPreviewActions Property

Specifies whether the PreviewInMht, PreviewInXls, PreviewInPdf and PreviewInRtf Actions are activated for the Report List View.

Namespace: DevExpress.ExpressApp.Reports.Web

Assembly: DevExpress.ExpressApp.Reports.Web.v18.2.dll

Declaration

public bool ShowFormatSpecificPreviewActions { get; set; }
Public Property ShowFormatSpecificPreviewActions As Boolean

Property Value

Type Description
Boolean

true if the Actions are activated for the Report List View; otherwise, false.

By default, this property is set to false. This means that a report from the Report List View can only be previewed via the Report Viewer. To preview the required report, click it. The Report Viewer will show the report. You will be provided with end-user capabilities that are common to Preview windows. For instance, saving, searching, printing and so on. When saving a report, you will be able to choose the format of the created file.

Tutorial_BMD_Lesson8_7

When the ShowFormatSpecificPreviewActions property is set to true, the PreviewInMht, PreviewInXls, PreviewInPdf and PreviewInRtf Actions are activated for the Report List View. They allow you to preview and save the currently selected report in the mht, xls, pdf and rtf formats, respectively.

FormatSpecificPreviewActions_1

To set this property to the required value, invoke the Application Designer and select the ReportsAspNetModule item in the Modules section. In the Properties window, the ShowFormatSpecificPreviewActions property will be available:

FormatSpecificPreviewActions_2

For details on these Actions, refer to the Format-Specific Preview Actions in ASP.NET Applications topic.

If you require that one of the format specific preview Actions is executed when a report is pressed in the Report List View, use the ReportsAspNetModule.DefaultPreviewFormat property.

See Also