Skip to main content
All docs
V24.1

WebDocumentViewerExportSettings.UseAsynchronousExport Property

Allows you to export documents asynchronously.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

[DefaultValue(true)]
public bool UseAsynchronousExport { get; set; }

Property Value

Type Default Description
Boolean true

True to perform export operations asynchronously; false to export documents in the same UI thread.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to UseAsynchronousExport
Reporting ASPxWebDocumentViewer
.SettingsExport .UseAsynchronousExport
ReportPreviewSettings
.SettingsExport .UseAsynchronousExport
ASP.NET MVC Extensions WebDocumentViewerSettings
.SettingsExport .UseAsynchronousExport

Remarks

When the Document Viewer exports a document asynchronously, it opens a new browser page (tab) with a progress indicator:

Code Examples

ASP.NET Web Forms

<dx:ASPxWebDocumentViewer ClientInstanceName="documentViewer" 
    ID="ASPxWebDocumentViewer1" runat="server">
    <SettingsExport UseAsynchronousExport="true" />
</dx:ASPxWebDocumentViewer>

ASP.NET MVC

@Html.DevExpress().WebDocumentViewer(settings =>
{
    settings.Name = "WebDocumentViewer1";
    settings.SettingsExport.UseAsynchronousExport = true;
}).Bind("TestReport").GetHtml()
See Also