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.v24.1.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:
- Add the Document Viewer to an ASP.NET MVC Application
- Document Viewer Server-Side Application from DevExpress Template (ASP.NET MVC)
- Add an End-User Report Designer to an ASP.NET MVC Application
- Report Designer Server-Side Configuration (ASP.NET MVC)
Implements
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