A newer version of this page is available. Switch to the current version.

WebDocumentViewerExtension Methods

Renders the ASPxWebDocumentViewer in ASP.NET MVC.
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) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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) static Generates a client-side Document Viewer model based on the specified data and serializes this model to Json.
GetJsonModelScript(XtraReport, String) static Generates a client-side Document Viewer model based on the specified data and serializes this model to Json.
GetModel(XtraReport) static Returns the session settings of a Document Viewer with the specified report.
GetModel(XtraReport, IEnumerable<ClientControlsMenuItem>) static Returns the session settings of a Document Viewer with the specified report and menu items.
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