Skip to main content
All docs
V25.1
  • ReportStorageWebExtension.GetDataAsync(String) Method

    Returns report layout data stored within a report storage medium by the specified report name (URL), asynchronously.

    Namespace: DevExpress.XtraReports.Web.Extensions

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

    NuGet Package: DevExpress.Web.Reporting.Common

    Declaration

    public virtual Task<byte[]> GetDataAsync(
        string url
    )

    Parameters

    Name Type Description
    url String

    A String specifying a URL that identifies a report in the storage.

    Returns

    Type Description
    Task<Byte[]>

    A task that returns an array of Byte values that is a report layout definition in XML format.

    Remarks

    The GetDataAsync 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