Skip to main content
A newer version of this page is available. .

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.v19.1.Web.WebForms.dll

Declaration

public class ASPxDocumentViewer :
    ASPxWebControl,
    IParentSkinOwner,
    ISkinOwner,
    IPropertiesOwner,
    IControlDesigner

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 Also