Skip to main content
All docs
V24.1

ReportStorageWebExtension.SetDataAsync(XtraReport, String) Method

Stores the specified report to a Report Storage using the specified URL (i.e, saves existing reports only).

Namespace: DevExpress.XtraReports.Web.Extensions

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public virtual Task SetDataAsync(
    XtraReport report,
    string url
)

Parameters

Name Type Description
report XtraReport

An XtraReport class descendant, specifying a report object to be saved.

url String

A String specifying the URL used to save a report.

Returns

Type Description
Task

A task that saves a report.

Remarks

The SetDataAsync method is called when the application uses an asynchronous engine. To enable an asynchronous engine, call one of the following methods at the application startup:

ASP.NET MVC ASP.NET Core
DefaultWebDocumentViewerContainer.UseAsyncEngine, DefaultReportDesignerContainer.UseAsyncEngine ReportingConfigurationBuilder.UseAsyncEngine
See Also