New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Sys.UI.ControlTelerik.Web.UI.EditorButton

Events

Adds a valueSelected event handler for the editorbutton

JS
add_valueSelected
Parameters:handlerFunction

The event handler function to attach

Removes a valueSelected event handler from the editorbutton

JS
remove_valueSelected
Parameters:handlerFunction

The event handler function to remove

Methods

Performs a click operation, but does not fire a command.

JS
click(): Boolean
Returns:

Boolean

Indicates whether the DOM event is canceled or not.

Returns the ContentAreaMode value.

JS
get_contentAreaMode(): Telerik.Web.UI.EditorContentAreaMode
Returns:

Telerik.Web.UI.EditorContentAreaMode

Indicates whether the Aria support is enabled.

JS
get_enableAriaSupport(): Boolean
Returns:

Boolean

Indicates whether the tool is enabled.

JS
get_enabled(): Boolean
Returns:

Boolean

Returns the height of the tool in pixels.

JS
get_height(): String
Returns:

String

Returns the Text value of the tool.

JS
get_text(): String
Returns:

String

Returns the tool-tip text of the decrease button.

JS
get_tooltipDecrease(): String
Returns:

String

Returns the tool-tip text of the increase button.

JS
get_tooltipIncrease(): String
Returns:

String

Returns the width of the tool in pixels.

JS
get_width(): String
Returns:

String

Returns the anchor element of the tool.

JS
getAnchorElement(): Element
Returns:

Element

Returns the span element of the tool.

JS
getSpanElement(): Element
Returns:

Element

Returns a Boolean value upon the state of the tool.

JS
isOn(): Boolean
Returns:

Boolean

Determines whether the tool was clicked.

JS
isTarget(Object evtArgs): Boolean
Parameters:evtArgsObject

The event arguments.

Returns:

Boolean

Overrides the ConentAreaMode value.

JS
set_contentAreaMode(Telerik.Web.UI.EditorContentAreaMode value): void
Parameters:valueTelerik.Web.UI.EditorContentAreaMode

Configures the state of the Aria support.

JS
set_enableAriaSupport(Boolean value, String role): void
Parameters:valueBooleanroleString

The role value to be set.

Sets the enable/disable state of the tool.

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

Defines whether the tool to be enabled or not.

Sets the height value of the tool.

JS
set_height(String value): void
Parameters:valueString

Overrides the Text value of the tool.

JS
set_text(String value): void
Parameters:valueString

Sets the tool-tip text of the decrease button.

JS
set_tooltipDecrease(String value): void
Parameters:valueString

Sets the tool-tip text of the increase button.

JS
set_tooltipIncrease(String value): void
Parameters:valueString

Sets the width value of the tool.

JS
set_width(String value): void
Parameters:valueString

Sets the focus on the tool's element.

JS
setFocus(): void

Enables the tool.

JS
setOn(Boolean value, Object attribute): void
Parameters:valueBoolean

If set to false, the tool will remain disabled.

attributeObject

Sets the state of the tool.

JS
setState(Telerik.Web.UI.Editor.CommandStates state): void
Parameters:stateTelerik.Web.UI.Editor.CommandStates
Not finding the help you need?
Contact Support