A newer version of this page is available. Switch to the current version.

MVCxDocumentViewer Class

An ASP.NET MVC equivalent of the ASPxDocumentViewer control.

Namespace: DevExpress.Web.Mvc

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


public class MVCxDocumentViewer :
Public Class MVCxDocumentViewer
    Inherits ASPxDocumentViewer


The MVCxDocumentViewer class renders the DocumentViewerExtension in ASP.NET MVC applications.

In most scenarios, it is not required to use the MVCxDocumentViewer class in the production code.

To properly follow the ASP.NET MVC pattern when implementing a Document Viewer, use the DocumentViewerExtension and DocumentViewerSettings classes.

The MVCxClientDocumentViewer class is the client-side counterpart of the MVCxDocumentViewer control.

To learn about using these classes, refer to ASP.NET Document Viewer.

See Also