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
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 |
|
ReportPreviewSettings |
|
|
ASP.NET MVC Extensions | WebDocumentViewerSettings |
|
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