OfficeViewer

Wisej.Web.Ext.OfficeViewer.OfficeViewer

Namespace: Wisej.Web.Ext.OfficeViewer

Assembly: Wisej.Web.Ext.OfficeViewer (3.2.0.0)

Microsoft Office Viewer panel. Uses view-office-documents-online.

public class OfficeViewer : IFramePanel, IWisejHandler

Constructors

OfficeViewer()

Properties

FileName

String: Returns or sets the file name with extension to return to the office viewer. (Default: "")

This property is required when using FileStream instead of FileSource.

FileSource

String: Returns or sets the path of the Office file to view. It can be a relative or absolute URL. (Default: "")

FileStream

Stream: Returns or sets the stream of the Office file to view.

Url

String: Returns or sets the source URL of the IFrame. (Default: "")

Events

FileRequested

HandledEventHandler Fired when the file is requested.

The application can handle this event and override the default functionality by setting the Handled property to true. The current response is available using Current.

FileSourceChanged

EventHandler Fired when the FileSource property is changed.

Last updated

Was this helpful?