Skip to main content

ReportStorageWebExtension.SetNewData(XtraReport, String) Method

Stores the specified report using a new URL (saves new reports only).

Namespace: DevExpress.XtraReports.Web.Extensions

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public virtual string SetNewData(
    XtraReport report,
    string defaultUrl
)

Parameters

Name Type Description
report XtraReport

An XtraReport object.

defaultUrl String

A String value specifying the default URL.

Returns

Type Description
String

A String value that is the report’s URL.

Remarks

In the SetNewData method implementation, you can validate and correct the specified URL and return the resulting URL used to save a report in your storage.

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 SetNewData(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