Skip to main content

ReportStorageWebExtension.SetData(XtraReport, String) Method

Stores the specified report to a Report Storage using the specified URL (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 void SetData(
    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.

Remarks

The SetData method is called only after the ReportStorageWebExtension.IsValidUrl and ReportStorageWebExtension.CanSetData methods are called.

For a code example, create a new Web project from the DevExpress Visual Studio template and review the code for the CustomReportStorageWebExtension class in the Services folder.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetData(XtraReport, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also