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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.ButtonBase.PostBackButtonBaseTelerik.Web.UI.RadToggleButton

Events

Adds a toggleStateChanged event handler for the radtogglebutton

JS
add_toggleStateChanged
Parameters:handlerFunction

The event handler function to attach

Adds a toggleStateChanging event handler for the radtogglebutton

JS
add_toggleStateChanging
Parameters:handlerFunction

The event handler function to attach

Removes a toggleStateChanged event handler from the radtogglebutton

JS
remove_toggleStateChanged
Parameters:handlerFunction

The event handler function to remove

Removes a toggleStateChanging event handler from the radtogglebutton

JS
remove_toggleStateChanging
Parameters:handlerFunction

The event handler function to remove

Methods

Gets a reference to the HTML element that holds the icon.

JS
get_iconElement(): Element
Returns:

Element

A reference to the HTML element that holds the icon.

Gets the currently selected ToggleState of the RadToggleButton control when used as a custom toggle button.

JS
get_selectedToggleState(): Telerik.Web.UI.RadButtonToggleState
Returns:

Telerik.Web.UI.RadButtonToggleState

The currently selected ToggleState of the RadToggleButton control when used as a custom toggle button.

Gets the index of the currently selected ToggleState of the RadToggleButton control, when used as a custom toggle button.

JS
get_selectedToggleStateIndex(): Number
Returns:

Number

The index of the currently selected ToggleState of the RadToggleButton control

Gets a collection of RadButtonToggleState objects that belong to the RadToggleButton control.

JS
get_toggleStates(): Array
Returns:

Array

A collection of RadButtonToggleState objects that belong to the RadToggleButton control.

Sets the index of the currently selected ToggleState of the RadToggleButton control, when used as a custom toggle button.

JS
set_selectedToggleStateIndex(Number value): void
Parameters:valueNumber

The index of the currently selected ToggleState of the RadToggleButton control

Not finding the help you need?
Contact Support