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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadToolBarItemTelerik.Web.UI.RadToolBarButton

Methods

Moves focus off the item to the next element in the tab order.

JS
blur(): void

Marks the checkbox of an item.

JS
check(): void

Causes server-side button click event to occur

JS
click(): void

disables the toolbar item.

JS
disable(): void

Enables the toolbar item.

JS
enable(): void

Moves focus to the item.

JS
focus(): void

Gets a value indicating if a checked button will get unchecked when clicked.

JS
get_allowSelfUnCheck(): Boolean
Returns:

Boolean

boolean

Returns the DOM element for the animation container of the item's drop-down list.

JS
get_animationContainer(): Element
Returns:

Element

Returns the collection of custom attributes defined for the item.

JS
get_attributes(): Object
Returns:

Object

Returns the collection of items in the drop-down list (if it exists).

JS
get_buttons(): Telerik.Web.UI.RadToolBarButtonCollection
Returns:

Telerik.Web.UI.RadToolBarButtonCollection

Gets the checked state of an item. The item is checked if get_checked() returns true.

JS
get_checked(): Boolean
Returns:

Boolean

The value indicating if the item is checked

Returns the name of the CSS class applied to the item when checked.

JS
get_checkedCssClass(): String
Returns:

String

The value indicating the Css class name

Returns the URL of the image when checked.

JS
get_checkedImageUrl(): String
Returns:

String

The value indicating the image url

Marks or unmarks the checkbox of an item when the item is clicked.

JS
get_checkOnClick(): Boolean
Returns:

Boolean

The value indicating if the item is checked

Returns the DOM element for the root list of items in the toolbar.

JS
get_childListElement(): Element
Returns:

Element

DOM element for the root item list

True if the item is clicked.

JS
get_clicked(): Boolean
Returns:

Boolean

boolean

Returns the name of the CSS class applied to the button when clicked.

JS
get_clickedCssClass(): String
Returns:

String

The value indicating the Css class name

Returns the URL of the image when it is clicked.

JS
get_clickedImageUrl(): String
Returns:

String

Returns the value of the CommandArgument property.

JS
get_commandArgument(): String
Returns:

String

string

Returns the name of the command associated with the item.

JS
get_commandName(): String
Returns:

String

The value indicating the command

Returns the index of the Default Button.

JS
get_defaultButtonIndex(): Number
Returns:

Number

Gets the CSS class for the item when it is disabled.

JS
get_disabledCssClass(): String
Returns:

String

Returns the full path to the image of a disabled item

JS
get_disabledImageUrl(): String
Returns:

String

The value indicating the image url

Returns the DOM element for the item's drop-down list.

JS
get_dropDownElement(): Element
Returns:

Element

Returns true if the drop-down is opened.

JS
get_dropDownVisible(): Boolean
Returns:

Boolean

Gets the DOM element for the item.

JS
get_element(): Element
Returns:

Element

true

JS
get_enabled(): Object
Returns:

Object

Returns true if EnabledDefaultButton is enabled.

JS
get_enableDefaultButton(): Object
Returns:

Object

True if the item is focused.

JS
get_focused(): Boolean
Returns:

Boolean

Returns the name of the CSS class applied to the button when on focus.

JS
get_focusedCssClass(): String
Returns:

String

The value indicating the Css class name

Returns the URL of the image when on focus.

JS
get_focusedImageUrl(): String
Returns:

String

string

Gets the name of the group to which the item belongs.

JS
get_group(): String
Returns:

String

The value indicating the name of the group

True if the item is hovered.

JS
get_hovered(): Boolean
Returns:

Boolean

boolean

Returns the name of the CSS class applied to the button when hovered.

JS
get_hoveredCssClass(): String
Returns:

String

The value indicating the Css class name

Returns the URL of the hovered-state image.

JS
get_hoveredImageUrl(): String
Returns:

String

Gets the image DOM element of the item. If the server side ImageUrl property is not set, returns null.

JS
get_imageElement(): Element
Returns:

Element

Gets the image position of the toolbar item.

JS
get_imagePosition(): Telerik.Web.UI.ToolBarImagePosition
Returns:

Telerik.Web.UI.ToolBarImagePosition

Returns the URL of the image.

JS
get_imageUrl(): String
Returns:

String

Returns the index of the item in the toolbar or drop-down list.

JS
get_index(): Object
Returns:

Object

Gets the DOM element for the innermost SPAN that wraps the item.

JS
get_innerWrapElement(): Element
Returns:

Element

True if the item is checked.

JS
get_isChecked(): Boolean
Returns:

Boolean

The value indicating if the item is checked

Returns true if both the item and the toolbar are enabled. If one of them is disabled, get_isEnabled() will return false.

JS
get_isEnabled(): Object
Returns:

Object

Returns whether the item has index 0.

JS
get_isFirst(): Object
Returns:

Object

Returns whether the item is the last in the toolbar or drop-down list.

JS
get_isLast(): Object
Returns:

Object

True if the item is separator.

JS
get_isSeparator(): Boolean
Returns:

Boolean

The value indicating if the item is separator

Gets the level of the item. Buttons and child items of a drop down button have 0 level. Child items of a split button are with level 1.

JS
get_level(): Object
Returns:

Object

Gets the anchor DOM element of the toolbar item.

JS
get_linkElement(): Element
Returns:

Element

Gets the DOM element for the middle SPAN that wraps the item.

JS
get_middleWrapElement(): Element
Returns:

Element

Returns the URL of the toolbar item(the href attribute of the link). Null if the NavigateUrl server property is not set.

JS
get_navigateUrl(): String
Returns:

String

The value indicating the Url

Returns the next item in the toolbar or drop-down list.

JS
get_nextSibling(): Telerik.Web.UI.RadToolBarItem
Returns:

Telerik.Web.UI.RadToolBarItem

Gets the DOM element for the outermost SPAN that wraps the item.

JS
get_outerWrapElement(): Element
Returns:

Element

True if postback is enabled, false otherwise.

JS
get_postBack(): Boolean
Returns:

Boolean

boolean

Gets the Url of the page to post to from the current page.

JS
get_postBackUrl(): String
Returns:

String

The value indicating the Url

Returns the previous item in the toolbar or drop-down list.

JS
get_previousSibling(): Telerik.Web.UI.RadToolBarItem
Returns:

Telerik.Web.UI.RadToolBarItem

Gets the target of the item. If a target is not set, returns null.

JS
get_target(): String
Returns:

String

The value indicating the name of the target

Returns the text of the item.

JS
get_text(): String
Returns:

String

Gets the DOM element for the text of the item.

JS
get_textElement(): Element
Returns:

Element

Returns the toolbar to which the item belongs.

JS
get_toolBar(): Telerik.Web.UI.RadToolBar
Returns:

Telerik.Web.UI.RadToolBar

RadToolBar

Returns the text of the item's tool tip.

JS
get_toolTip(): String
Returns:

String

Returns the value of the item.

JS
get_value(): Object
Returns:

Object

True if the item is visible.

JS
get_visible(): Boolean
Returns:

Boolean

boolean

Returns the default button.

JS
getDefaultButton(): Telerik.Web.UI.RadToolBarButton
Returns:

Telerik.Web.UI.RadToolBarButton

Hides the toolbar item.

JS
hide(): void

Closes the drop-down list.

JS
hideDropDown(): void

Sets a value indicating if a checked button will get unchecked when clicked.

JS
set_allowSelfUnCheck(Boolean value): void
Parameters:valueBoolean

value

Marks or unmarks the checkbox of an item.

JS
set_checked(Boolean value): void
Parameters:valueBoolean

value

Sets name of the CSS class applied to the item when checked.

JS
set_checkedCssClass(String value): void
Parameters:valueString

value

Sets the name of the CSS class to be applied to the button when checked.

JS
set_checkedImageUrl(String value): void
Parameters:valueString

value

Sets marked or unmarked if the item is clicked

JS
set_checkOnClick(Boolean value): void
Parameters:valueBoolean

value

Sets the name of the CSS class to be applied to the button when clicked.

JS
set_clickedCssClass(String value): void
Parameters:valueString

value

Sets the URL of the image when it is clicked.

JS
set_clickedImageUrl(String value): void
Parameters:valueString

value

Sets the value of the CommandArgument property.

JS
set_commandArgument(String value): void
Parameters:valueString

value

Sets the name of the command associated with the item.

JS
set_commandName(String value): void
Parameters:valueString

value

Sets the index of the Default Button.

JS
set_defaultButtonIndex(Number Int): Object
Parameters:IntNumberReturns:

Object

Sets the CSS class for the item when it is disabled.

JS
set_disabledCssClass(String value): void
Parameters:valueString

value

Sets the DisabledImageUrl property of the item

JS
set_disabledImageUrl(String value): void
Parameters:valueString

value

Sets whether the item is enabled.

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

value

Enables/Disables the EnabledDefaultButton mechanism.

JS
set_enableDefaultButton(Object boolean): Object
Parameters:booleanObjectReturns:

Object

Sets if the item is focused.

JS
set_focused(Boolean value): void
Parameters:valueBoolean

value

Sets the name of the CSS class to be applied to the button when on focus.

JS
set_focusedCssClass(String value): void
Parameters:valueString

value

Sets the URL of the image when on focus.

JS
set_focusedImageUrl(String value): void
Parameters:valueString

value

Sets the name of the group to which the item belongs.

JS
set_group(String value): void
Parameters:valueString

value

Sets the name of the CSS class to be applied to the button when hovered.

JS
set_hoveredCssClass(String value): void
Parameters:valueString

value

Sets the URL for the hovered-state image.

JS
set_hoveredImageUrl(String value): void
Parameters:valueString

value

Sets the image position of the toolbar item.

JS
set_imagePosition(Telerik.Web.UI.ToolBarImagePosition value): void
Parameters:valueTelerik.Web.UI.ToolBarImagePosition

Sets the URL for the image.

JS
set_imageUrl(String value): void
Parameters:valueString

value

Sets if the item is separator.

JS
set_isSeparator(Boolean value): void
Parameters:valueBoolean

value

Sets the URL of the item

JS
set_navigateUrl(String value): void
Parameters:valueString

value

Determines if the item should postback.

JS
set_postBack(Boolean value): void
Parameters:valueBoolean

value

Sets the Url of the page to post to from the current page.

JS
set_postBackUrl(String value): void
Parameters:valueString

value

Sets the target of the Node.

JS
set_target(String value): void
Parameters:valueString

value

Sets the text of the item.

JS
set_text(String text): void
Parameters:textString

text

Sets the text of the item's tool tip.

JS
set_toolTip(String value): void
Parameters:valueString

value

Sets the value of the item.

JS
set_value(Object string): Object
Parameters:stringObjectReturns:

Object

Sets if the item is visible.

JS
set_visible(Boolean value): void
Parameters:valueBoolean

value

Shows the toolbar item.

JS
show(): void

Opens the drop-down list.

JS
showDropDown(): void

Collapses an expanded toolbar item or expands a collapsed toolbar item.

JS
toggle(): void

Unmarks the checkbox of an item.

JS
unCheck(): void
Not finding the help you need?
Contact Support