Skip to main content

WebDocumentViewerExtension Members

Renders the ASPxWebDocumentViewer in ASP.NET MVC.

Constructors

Name Description
WebDocumentViewerExtension(SettingsBase, ViewContext) Initializes a new instance of the WebDocumentViewerExtension class with the specified view context and settings.
WebDocumentViewerExtension(SettingsBase) Initializes a new instance of the WebDocumentViewerExtension class with the specified settings.

Methods

Name Description
Bind(XtraReport) Binds the Document Viewer to a report.
Bind(CachedReportSourceWeb) Binds the Document Viewer to the report associated with the specified CachedReportSourceWeb object.
Bind(WebDocumentViewerModel) Binds the Document Viewer to a model.
Bind(Byte[]) Binds the Document Viewer to a report.
Bind(String) Binds the Document Viewer to the specified report.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetHtml() Inserts the HTML code rendered by an extension into the required page output. Inherited from ExtensionBase.
GetJsonModelScript(XtraReport, String) static Generates a client-side Document Viewer model based on the specified data and serializes this model to Json.
GetJsonModelScript(XtraReport) static Generates a client-side Document Viewer model based on the specified data and serializes this model to Json.
GetModel(XtraReport, IEnumerable<ClientControlsMenuItem>) static Returns the session settings of a Document Viewer with the specified report and menu items.
GetModel(XtraReport) static Returns the session settings of a Document Viewer with the specified report.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Renders the extension’s HTML code to the Response. Inherited from ExtensionBase.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also