Skip to main content

WebDocumentViewerApiControllerBase Class

The base class for a controller that processes HTTP requests from the Web Document Viewer.

Namespace: DevExpress.Web.Mvc.Controllers

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public abstract class WebDocumentViewerApiControllerBase :
    ReportingControllerBase<IWebDocumentViewerRequestManager, IWebDocumentViewerRequestManagerAsync, IWebDocumentViewerLocalizationInfoProvider>

Remarks

If you use the MVCxWebDocumentViewer or MVCxReportDesigner controls in an application configured to work with controllers instead of default HTTP handlers, you should explicitly implement the WebDocumentViewerApiControllerBase descendant:

using DevExpress.Web.Mvc.Controllers;
// ...
    public class WebDocumentViewerController : WebDocumentViewerApiControllerBase {
    }

Review the following help topics for examples:

Inheritance

Object
ControllerBase
Controller
ReportingControllerBase<DevExpress.XtraReports.Web.WebDocumentViewer.Native.Services.IWebDocumentViewerRequestManager, DevExpress.XtraReports.Web.WebDocumentViewer.Native.Services.IWebDocumentViewerRequestManagerAsync, DevExpress.XtraReports.Web.WebDocumentViewer.Native.Services.IWebDocumentViewerLocalizationInfoProvider>
WebDocumentViewerApiControllerBase
See Also