Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WebDocumentViewerExportSettings.UseAsynchronousExport Property

Allows you to export documents asynchronously.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.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
.NET Reporting Tools 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