Back to Devexpress

WebDocumentViewerExtension Members

aspnetmvc-devexpress-dot-web-dot-mvc-dot-webdocumentviewerextension-dot-underscore-members.md

latest6.1 KB
Original Source

WebDocumentViewerExtension Members

Renders the ASPxWebDocumentViewer in ASP.NET MVC.

Constructors

NameDescription
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

NameDescription
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) staticDetermines 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) staticGenerates a client-side Document Viewer model based on the specified data and serializes this model to Json.
GetJsonModelScript(XtraReport) staticGenerates a client-side Document Viewer model based on the specified data and serializes this model to Json.
GetModel(XtraReport, IEnumerable<ClientControlsMenuItem>) staticReturns the session settings of a Document Viewer with the specified report and menu items.
GetModel(XtraReport) staticReturns the session settings of a Document Viewer with the specified report.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

WebDocumentViewerExtension Class

DevExpress.Web.Mvc Namespace