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

DocumentOperationService Class

A service enabling you to perform custom operations with a Document Viewer’s currently opened document.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v19.1.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public class DocumentOperationService

Remarks

You can create a DocumentOperationService class descendant, and override its DocumentOperationService.CanPerformOperation method to define which operations are permitted and the DocumentOperationService.PerformOperation method to perform the required actions. To register your custom class, use the DefaultWebDocumentViewerContainer.Register<T, TImpl> method at the application startup.

On the client side, call the ASPxClientWebDocumentViewer.PerformCustomDocumentOperation method to send the request to perform the required document operation.

For a code sample, refer to Web Document Viewer - How to send a report via Email from the client side.

Inheritance

Object
DocumentOperationService
See Also