HtmlEditor Extender (demo)

HtmlEditorExtender extends to a textbox and creates and renders an editable div instead of a targeted textbox


Name Description
AjaxFileUpload AjaxFileUpload that is used to upload images
DisplaySourceTab Determines whether or not to display a source view tab/button to see the source view of HtmlEditorExtender
EnableSanitization Determines whether or not to use HTML-sanitization before data transfer to the server
OnClientChange The name of a JavaScript function to attach to the client-side Change event
Toolbar A Helper property to cacth buttons from modifed buttons at design time. This property will be attached only when the Toolbar property is not empty at design time
ToolbarButtons Provides a button list to the client side. The Toolbar property is required for designer experience support, because the editor always prevents the property's capability to provide values to the client side as ExtenderControlProperty at runtime


Decodes html tags that are not generated by an htmlEditorExtender button


An event handler to complete the Ajax Image upload

Client properties

Button height in pixels
Getter name: get_buttonHeight()
Setter name: set_buttonHeight(value)

Button width in pixels
Getter name: get_buttonWidth()
Setter name: set_buttonWidth(value)

Determines whether or not to display a source view tab/button to see the source view of HtmlEditorExtender
Getter name: get_displaySourceTab()
Setter name: set_displaySourceTab(value)

Flag indicating that HtmlEditorExtender content is changed
Getter name: get_isDirty()

A collection of toolbar buttons
Getter name: get_toolbarButtons()
Setter name: set_toolbarButtons(value)

Client methods

Restores selected text

Saves selected text

Client events

Fires when text change occurs
Add event handler method: add_change(handler)
Remove event handler method: remove_change(handler)

Last edited Sep 14, 2015 at 10:03 AM by fadilmamedov, version 3