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

ASPxDocumentViewer Class

An ASP.NET counterpart of the newer ASPxWebDocumentViewer control that is used to publish (preview, print and export) documents in web applications.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll

Declaration

public class ASPxDocumentViewer :
    ASPxWebControl,
    IParentSkinOwner,
    ISkinOwner,
    IPropertiesOwner,
    IControlDesigner
Public Class ASPxDocumentViewer
    Inherits ASPxWebControl
    Implements IParentSkinOwner,
               ISkinOwner,
               IPropertiesOwner,
               IControlDesigner

Related API Members

The following members accept/return ASPxDocumentViewer objects:

Remarks

The ASPxDocumentViewer control provides an older version of a Document Viewer. To take advantage of HTML5/JS technology, consider using the HTML5 Document Viewer instead.

When placing an ASPxDocumentViewer in a UserControl, assign the ASPxDocumentViewer.Report property in the Page_Init event.

To select the toolbar kind of a Document Viewer, use the ASPxDocumentViewer.ToolbarMode property.

See ASP.NET Document Viewer for more information.

See Also