Back to Devexpress

ASPxClientHtmlEditor Members

aspnet-js-aspxclienthtmleditor-dot-underscore-members.md

latest13.4 KB
Original Source

ASPxClientHtmlEditor Members

Represents a client-side equivalent of the ASPxHtmlEditor control.

Properties

NameDescription
nameGets the unique, hierarchically-qualified identifier for the control. Inherited from ASPxClientControlBase.

Methods

NameDescription
AdjustControlModifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls staticModifies the controls size within the specified container. Inherited from ASPxClientControl.
Cast(obj) staticConverts 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) staticProgrammatically closes a custom dialog, supplying it with specific parameters.
ExecuteCommand(commandName, parameter, addToUndoHistory)Executes the specified command.
FocusSets input focus to the ASPxHtmlEditor‘s edit region.
GetActiveTabNameReturns the name of the active HTML editor tab.
GetClientVisibleObsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetContextMenuReturns a collection of client context menu objects.
GetControlCollection staticReturns a collection of client web control objects. Inherited from ASPxClientControl.
GetDesignViewDocumentReturns the document object generated by an iframe element within a design view area.
GetDialogPopupControlProvides access to the client ASPxPopupControl object that is a Html Editor’s dialog.
GetEnabledReturns a value indicating whether an editor is enabled.
GetErrorTextGets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
GetHeightReturns the control’s height. Inherited from ASPxClientControl.
GetHtmlGets the HTML markup that represents the editor’s content.
GetIsValidGets a value that indicates whether the editor’s value passes validation.
GetMainElementReturns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetParentControlReturns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetPreviewDocumentReturns the document object generated by an iframe element within a preview area.
GetRibbonProvides access to an object implementing the HtmlEditor’s ribbon UI.
GetSelectionReturns the selection in the ASPxHtmlEditor.
GetToolbarByName(name)Returns a toolbar specified by its name.
GetVisibleReturns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetWidthReturns the control’s width. Inherited from ASPxClientControl.
HighlightText(text, searchContainer) staticHighlights the text with the specified text color and background color.
InCallbackReturns 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.
ReconnectToExternalRibbonReconnect the control to an external ribbon.
ReplacePlaceholders(html, placeholders)Replaces placeholders with the specified values.
RestoreSelectionRestores the selection within the ASPxHtmlEditor.
SaveToUndoHistoryAdds 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. |

Events

NameDescription
ActiveTabChangedFires on the client side after the active tab has been changed within a control.
ActiveTabChangingFires on the client side before the active tab is changed within a control.
BeforePasteOccurs before an HTML code is pasted to editor content, and allows you to modify it.
BeginCallbackOccurs when a callback for server-side processing is initiated.
CallbackErrorFires on the client if any server error occurs during server-side processing of a callback sent by the ASPxClientHtmlEditor.
CommandExecutedOccurs after a default or custom command has been executed on the client side.
CommandExecutingOccurs before a default or custom command has been executed and allows you to cancel the action.
ContextMenuShowingOccurs on the client side before a context menu is shown.
CustomCommandEnables you to implement a custom command’s logic.
CustomDataCallbackFires after a callback, sent by the ASPxClientHtmlEditor.PerformDataCallback method, has been processed within the ASPxHtmlEditor.CustomDataCallback event handler.
CustomDialogClosedOccurs on the client side after a custom dialog is closed.
CustomDialogClosingFires on the client side before a custom dialog is closed.
CustomDialogOpenedOccurs on the client side after a custom dialog is opened.
DialogClosedOccurs on the client side after a dialog is closed.
DialogClosingFires on the client side before a dialog is going to be closed.
DialogInitializedOccurs on the client side after a dialog has been initialized.
EndCallbackOccurs on the client side after a callback’s server-side processing has been completed.
GotFocusFires on the client side when the editor’s Design View Area receives input focus.
HtmlChangedOccurs on the client side when the content of the editor changes.
InitOccurs on the client side after the control has been initialized. Inherited from ASPxClientControlBase.
LostFocusFires on the client side when the editor’s Design View Area loses input focus.
SelectionChangedOccurs on the client when a selection is changed within the ASPxHtmlEditor.
SpellingCheckedOccurs on the client side after the editor content is spell checked.
ValidationAllows you to specify whether the value entered into the ASPxHtmlEditor is valid.

See Also

ASPxClientHtmlEditor Class