Back to Devexpress

ReportStorageWebExtension Class

xtrareports-devexpress-dot-xtrareports-dot-web-dot-extensions.md

latest4.9 KB
Original Source

ReportStorageWebExtension Class

A report storage for Web Reporting.

Namespace : DevExpress.XtraReports.Web.Extensions

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

NuGet Package : DevExpress.Web.Reporting.Common

Declaration

csharp
public abstract class ReportStorageWebExtension :
    IReportStorageTool,
    IReportStorageWebTool,
    IReportStorageTool2
vb
Public MustInherit Class ReportStorageWebExtension
    Implements IReportStorageTool,
               IReportStorageWebTool,
               IReportStorageTool2

Remarks

When you bind the Web Document Viewer or Report Designer to a report specified by name (a string identifier), the control uses custom services, registered in the application, to resolve a report name to a report object. The services are queried in the following order:

  1. IWebDocumentViewerReportResolver (Web Document Viewer only)
  2. IReportProvider
  3. ReportStorageWebExtension

When you save a report in the Web Report Designer, the ReportStorageWebExtension service is called to save the report data.

Create the ReportStorageWebExtension class descendant and register it in your application to implement a custom report storage.

Refer to the following help topics for more information:

Examples

Create a Web App from Template

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.

For more information on how to create Web Reporting applications from Visual Studio templates, review the following help topics:

File-Based Report Storage

  • Report Storage based on a file system:

  • Report Storage based on a file system. Applies client-side parameters to the report:

Database Report Storage

  • Report Storage based on a SQLite database:

  • Report Storage based on Entity Framework:

Tips and Limitations

  • The SaveReportLayout event does not occur if the ReportStorageWebExtension service is registered in the application.

Inheritance

Object ReportStorageWebExtension

See Also

Main Menu

ReportStorageWebExtension Members

DevExpress.XtraReports.Web.Extensions Namespace