Skip to main content
A newer version of this page is available. .

ReportStorageWebExtension.SetNewData(XtraReport, String) Method

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

Namespace: DevExpress.XtraReports.Web.Extensions

Assembly: DevExpress.XtraReports.v18.2.Web.dll

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 specifying 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, see the Implement a Report Storage document.

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