Skip to main content

ASPxClientHtmlEditor Methods

Represents a client-side equivalent of the ASPxHtmlEditor control.
Name Description
AdjustControl Modifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls static Modifies the controls size within the specified container. Inherited from ASPxClientControl.
Cast(obj) static Converts the specified object to the ASPxClientHtmlEditor type.
CreateChangeMediaElementCommandArguments(element) Creates a parameter for ASPxHtmlEditor‘s client-side commands related to changing media elements.
CustomDialogComplete(status, data) static Programmatically closes a custom dialog, supplying it with specific parameters.
ExecuteCommand(commandName, parameter, addToUndoHistory) Executes the specified command.
Focus Sets input focus to the ASPxHtmlEditor‘s edit region.
GetActiveTabName Returns the name of the active HTML editor tab.
GetClientVisible Obsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetContextMenu Returns a collection of client context menu objects.
GetControlCollection static Returns a collection of client web control objects. Inherited from ASPxClientControl.
GetDesignViewDocument Returns the document object generated by an iframe element within a design view area.
GetDialogPopupControl Provides access to the client ASPxPopupControl object that is a Html Editor’s dialog.
GetEnabled Returns a value indicating whether an editor is enabled.
GetErrorText Gets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
GetHeight Returns the control’s height. Inherited from ASPxClientControl.
GetHtml Gets the HTML markup that represents the editor’s content.
GetIsValid Gets a value that indicates whether the editor’s value passes validation.
GetMainElement Returns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetParentControl Returns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetPreviewDocument Returns the document object generated by an iframe element within a preview area.
GetRibbon Provides access to an object implementing the HtmlEditor’s ribbon UI.
GetSelection Returns the selection in the ASPxHtmlEditor.
GetToolbarByName(name) Returns a toolbar specified by its name.
GetVisible Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetWidth Returns the control’s width. Inherited from ASPxClientControl.
HighlightText(text, searchContainer) static Highlights the text with the specified text color and background color.
InCallback Returns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase.
PerformDataCallback(parameter, onCallback) Sends a callback to the server and generates the server-side ASPxHtmlEditor.CustomDataCallback event passing it the specified argument.
ReconnectToExternalRibbon Reconnect the control to an external ribbon.
ReplacePlaceholders(html, placeholders) Replaces placeholders with the specified values.
RestoreSelection Restores the selection within the ASPxHtmlEditor.
SaveToUndoHistory Adds the current editor state to the undo/redo history.
SendMessageToAssistiveTechnology(message) Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase.
SetActiveTabByName(name) Set an active tab specified by its name.
SetClientVisible(visible) Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetEnabled(value) Specifies whether an editor is enabled.
SetErrorText(errorText) Sets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
SetHeight(height)

Specifies the control’s height. Note that this method is not in effect for some controls.

Inherited from ASPxClientControl.
SetHtml(html) Sets the HTML markup that represents the editor’s content.
SetIsValid(isValid) Sets a value that specifies whether the editor’s value passes validation.
SetRibbonContextTabCategoryVisible(categoryName, active) Specifies the visibility of a ribbon context tab category specified by its name.
SetToolbarComboBoxValue(commandName, value) Sets the value of the combo box within the HtmlEditor on the client side.
SetToolbarDropDownItemPickerValue(commandName, value) Sets the value of the dropdown item picker in the HtmlEditor on the client side.
SetVisible(visible) Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetWidth(width) Specifies the control’s width in pixels. Inherited from ASPxClientControl.
Validate Performs validation of the editor’s content.
See Also