Back to Devexpress

ReportDesignerController Class

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-reportdesigner-22092d8b.md

latest3.8 KB
Original Source

ReportDesignerController Class

A base class for the controller that processes HTTP requests from the Web Report Designer.

Namespace : DevExpress.AspNetCore.Reporting.ReportDesigner

Assembly : DevExpress.AspNetCore.Reporting.v25.2.dll

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

csharp
[Route("DXXRD")]
public abstract class ReportDesignerController :
    ControllerBase
vb
<Route("DXXRD")>
Public MustInherit Class ReportDesignerController
    Inherits ControllerBase

Remarks

If your application uses the Web Report Designer component, you should explicitly implement controllers as the following code sample illustrates:

csharp
using DevExpress.AspNetCore.Reporting.QueryBuilder;
using DevExpress.AspNetCore.Reporting.QueryBuilder.Native.Services;
using DevExpress.AspNetCore.Reporting.ReportDesigner;
using DevExpress.AspNetCore.Reporting.ReportDesigner.Native.Services;
using DevExpress.AspNetCore.Reporting.WebDocumentViewer;
using DevExpress.AspNetCore.Reporting.WebDocumentViewer.Native.Services;
// ...
    public class CustomWebDocumentViewerController : WebDocumentViewerController {
        public CustomWebDocumentViewerController(IWebDocumentViewerMvcControllerService controllerService) : base(controllerService) {
        }
    }

    public class CustomReportDesignerController : ReportDesignerController {
        public CustomReportDesignerController(IReportDesignerMvcControllerService controllerService) : base(controllerService) {
        }
    }

    public class CustomQueryBuilderController : QueryBuilderController {
        public CustomQueryBuilderController(IQueryBuilderMvcControllerService controllerService) : base(controllerService) {
        }
    }

For a code sample, review the following help topics:

Inheritance

Object ControllerBase Controller DevExpress.AspNetCore.Reporting.Native.ControllerBase ReportDesignerController

See Also

ReportDesignerController Members

DevExpress.AspNetCore.Reporting.ReportDesigner Namespace