xtrareports-devexpress-dot-xtrareports-dot-web-dot-webdocumentviewer-dot-webdocumentviewerexportsettings.md
Allows you to export documents asynchronously.
Namespace : DevExpress.XtraReports.Web.WebDocumentViewer
Assembly : DevExpress.XtraReports.v25.2.Web.WebForms.dll
NuGet Package : DevExpress.Web.Reporting
[DefaultValue(true)]
public bool UseAsynchronousExport { get; set; }
<DefaultValue(True)>
Public Property UseAsynchronousExport As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
True to perform export operations asynchronously; false to export documents in the same UI thread.
|
You can access this nested property as listed below:
| Library | Object Type | Path to UseAsynchronousExport |
|---|---|---|
| ASP.NET MVC Extensions | WebDocumentViewerSettings |
.SettingsExport .UseAsynchronousExport
| | .NET Reporting Tools | ASPxWebDocumentViewer |
.SettingsExport .UseAsynchronousExport
| | ReportPreviewSettings |
.SettingsExport .UseAsynchronousExport
|
When the Document Viewer exports a document asynchronously, it opens a new browser page (tab) with a progress indicator:
<dx:ASPxWebDocumentViewer ClientInstanceName="documentViewer"
ID="ASPxWebDocumentViewer1" runat="server">
<SettingsExport UseAsynchronousExport="true" />
</dx:ASPxWebDocumentViewer>
<dx:ASPxReportDesigner EnableRichTextEditor="False" ID="ASPxReportDesigner1" runat="server">
<SettingsReportPreview>
<SettingsExport UseAsynchronousExport="true" />
</SettingsReportPreview>
</dx:ASPxReportDesigner>
@Html.DevExpress().WebDocumentViewer(settings =>
{
settings.Name = "WebDocumentViewer1";
settings.SettingsExport.UseAsynchronousExport = true;
}).Bind("TestReport").GetHtml()
@Html.DevExpress().ReportDesigner(settings => {
settings.Name = "ReportDesigner1";
settings.SettingsReportPreview.SettingsExport.UseAsynchronousExport = true;
}).BindToUrl("TestReport").GetHtml()
See Also
WebDocumentViewerExportSettings Class