Skip to main content

HtmlEditorExtension Members

Represents an extension object implementing the HtmlEditor functionality.

Constructors

Name Description
HtmlEditorExtension(HtmlEditorSettings, ViewContext, ModelMetadata) Initializes a new instance of the HtmlEditorExtension class with specified settings.
HtmlEditorExtension(HtmlEditorSettings, ViewContext) Initializes a new instance of the HtmlEditorExtension class with the specified settings and provides the context information about the view.
HtmlEditorExtension(HtmlEditorSettings) Initializes a new instance of the HtmlEditorExtension class with the specified settings.

Properties

Name Description
DefaultRibbonContextTabCategories static Gets an array of predefined ribbon context tab categories for the HtmlEditor extension.
DefaultRibbonTabs static Gets an array of predefined ribbon tabs for the HtmlEditor extension.

Methods

Name Description
Bind(Object, String) Binds an editor to a data source’s field.
Bind(Object) Binds the HtmlEditor editor to a value.
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.
Export(HtmlEditorSettings, HtmlEditorExportFormat, Boolean) static Exports editor contents to the specified format, based on the provided settings.
Export(HtmlEditorSettings, HtmlEditorExportFormat, String) static Exports editor contents to the specified format, based on the provided settings.
Export(HtmlEditorSettings, HtmlEditorExportFormat) static Exports editor contents to the specified format, based on the provided settings.
Export(HtmlEditorSettings, Stream, HtmlEditorExportFormat) static Exports editor contents to the specified format, based on the provided settings.
GetActiveView(String) static Gets the specified HtmlEditor’s active view.
GetCssFiles(String) static Gets a collection of items that refer to external CSS files associated with the HtmlEditor.
GetCustomDataCallbackResult(Object) static Returns the specified result back to the client side after processing a callback within an Action defined HtmlEditorSettings.CustomDataActionRouteValues property.
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.
GetHtml(String, ASPxHtmlEditorHtmlEditingSettings, HtmlEditorValidationSettings, out Boolean) static Returns the HTML markup specifying a specific HtmlEditor’s content, validated based on both the passed editing and validation settings, and indicates whether the editor content is valid.
GetHtml(String, ASPxHtmlEditorHtmlEditingSettings, HtmlEditorValidationSettings, EventHandler<HtmlEditorValidationEventArgs>, out Boolean) static Returns the HTML markup specifying a specific HtmlEditor’s content, validated based on the passed editing settings, validation settings and custom validation logic; and indicates whether the editor content is valid.
GetHtml(String, ASPxHtmlEditorHtmlEditingSettings, HtmlEditorValidationSettings, EventHandler<HtmlEditorValidationEventArgs>, EventHandler<HtmlCorrectingEventArgs>, out Boolean) static Returns the HTML markup specifying a specific HtmlEditor’s content, updated based on the specified parameters.
GetHtml(String, ASPxHtmlEditorHtmlEditingSettings) static Returns the HTML markup representing a specific HtmlEditor’s content and allows it to be validated based on the settings related to the HTML editing functionality.
GetHtml(String) static Returns the HTML markup specifying a specific HtmlEditor’s content.
GetType() Gets the Type of the current instance. Inherited from Object.
Import(HtmlEditorImportFormat, Stream, Action<String, IEnumerable<String>>) static Imports the editor content from a specific stream, based on the provided settings.
Import(HtmlEditorImportFormat, Stream, Boolean, Action<String, IEnumerable<String>>) static Imports the editor content from a specific stream, based on the provided settings.
Import(HtmlEditorImportFormat, Stream, Boolean, String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific stream, based on the provided settings.
Import(HtmlEditorImportFormat, Stream, String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific stream, based on the provided settings.
Import(HtmlEditorImportFormat, String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
Import(HtmlEditorImportFormat, String, Boolean, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
Import(HtmlEditorImportFormat, String, Boolean, String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
Import(HtmlEditorImportFormat, String, String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
Import(String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
Import(String, Boolean, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
Import(String, Boolean, String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
Import(String, String, Action<String, IEnumerable<String>>) static Imports the editor content from a specific file, based on the provided settings.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PrepareHtmlEditorProperties(HtmlEditorSettings, ModelMetadata) static For internal use only.
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.
SaveUploadedAudio(String, HtmlEditorAudioSelectorSettings) static Saves an audio file uploaded via a specific HtmlEditor’s Audio Selector dialog.
SaveUploadedDocument(String, HtmlEditorDocumentSelectorSettings) static Saves a document file uploaded via a specific HtmlEditor’s Document Selector dialog.
SaveUploadedFile(HtmlEditorFileSaveSettings, UploadControlValidationSettings, FileSavingEventHandler) static Saves a file uploaded using a specific HtmlEditor’s File Selector dialog.
SaveUploadedFile(HtmlEditorFileSaveSettings, UploadControlValidationSettings) static Saves a file uploaded using a specific HtmlEditor’s File Selector dialog.
SaveUploadedFile(String, UploadControlValidationSettings, String, FileSavingEventHandler) static Saves a file uploaded using a specific HtmlEditor’s File Selector dialog.
SaveUploadedFile(String, UploadControlValidationSettings, String, String, FileSavingEventHandler) static Saves a file uploaded using a specific HtmlEditor’s File Selector dialog.
SaveUploadedFile(String, UploadControlValidationSettings, String, String) static Saves a file uploaded via a specific HtmlEditor’s File Selector dialog.
SaveUploadedFile(String, UploadControlValidationSettings, String) static Saves a file uploaded via a specific HtmlEditor’s File Selector dialog.
SaveUploadedFlash(String, HtmlEditorFlashSelectorSettings) static Saves a flash file uploaded via a specific HtmlEditor’s Flash Selector dialog.
SaveUploadedImage(String, HtmlEditorImageSelectorSettings) static Saves an image file uploaded via a specific HtmlEditor’s Image Selector dialog.
SaveUploadedImage(String, UploadControlValidationSettings, String, String) static Obsolete. Saves a specific HtmlEditor’s uploaded image, based on the passed parameters (the editor name, validation settings, upload folder path and file name).
SaveUploadedImage(String, UploadControlValidationSettings, String) static Obsolete. Saves a specific HtmlEditor’s uploaded image based on the passed parameters (the editor name, validation settings and upload folder path).
SaveUploadedVideo(String, HtmlEditorVideoSelectorSettings) static Saves a video file uploaded via a specific HtmlEditor’s Video Selector dialog.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also