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.
blur(): void
Marks the checkbox of an item.
check(): void
Causes server-side button click event to occur
click(): void
disables the toolbar item.
disable(): void
Enables the toolbar item.
enable(): void
Moves focus to the item.
focus(): void
Gets a value indicating if a checked button will get unchecked when clicked.
get_allowSelfUnCheck(): Boolean
Boolean
boolean
Returns the DOM element for the animation container of the item's drop-down list.
get_animationContainer(): Element
Element
Returns the collection of custom attributes defined for the item.
get_attributes(): Object
Object
Returns the collection of items in the drop-down list (if it exists).
get_buttons(): Telerik.Web.UI.RadToolBarButtonCollection
Telerik.Web.UI.RadToolBarButtonCollection
Gets the checked state of an item. The item is checked if get_checked() returns true.
get_checked(): Boolean
Boolean
The value indicating if the item is checked
Returns the name of the CSS class applied to the item when checked.
get_checkedCssClass(): String
String
The value indicating the Css class name
Returns the URL of the image when checked.
get_checkedImageUrl(): String
String
The value indicating the image url
Marks or unmarks the checkbox of an item when the item is clicked.
get_checkOnClick(): Boolean
Boolean
The value indicating if the item is checked
Returns the DOM element for the root list of items in the toolbar.
get_childListElement(): Element
Element
DOM element for the root item list
True if the item is clicked.
get_clicked(): Boolean
Boolean
boolean
Returns the name of the CSS class applied to the button when clicked.
get_clickedCssClass(): String
String
The value indicating the Css class name
Returns the URL of the image when it is clicked.
get_clickedImageUrl(): String
String
Returns the value of the CommandArgument property.
get_commandArgument(): String
String
string
Returns the name of the command associated with the item.
get_commandName(): String
String
The value indicating the command
Returns the index of the Default Button.
get_defaultButtonIndex(): Number
Number
Gets the CSS class for the item when it is disabled.
get_disabledCssClass(): String
String
Returns the full path to the image of a disabled item
get_disabledImageUrl(): String
String
The value indicating the image url
Returns the DOM element for the item's drop-down list.
get_dropDownElement(): Element
Element
Returns true if the drop-down is opened.
get_dropDownVisible(): Boolean
Boolean
Gets the DOM element for the item.
get_element(): Element
Element
true
get_enabled(): Object
Object
Returns true if EnabledDefaultButton is enabled.
get_enableDefaultButton(): Object
Object
True if the item is focused.
get_focused(): Boolean
Boolean
Returns the name of the CSS class applied to the button when on focus.
get_focusedCssClass(): String
String
The value indicating the Css class name
Returns the URL of the image when on focus.
get_focusedImageUrl(): String
String
string
Gets the name of the group to which the item belongs.
get_group(): String
String
The value indicating the name of the group
True if the item is hovered.
get_hovered(): Boolean
Boolean
boolean
Returns the name of the CSS class applied to the button when hovered.
get_hoveredCssClass(): String
String
The value indicating the Css class name
Returns the URL of the hovered-state image.
get_hoveredImageUrl(): String
String
Gets the image DOM element of the item. If the server side ImageUrl property is not set, returns null.
get_imageElement(): Element
Element
Gets the image position of the toolbar item.
get_imagePosition(): Telerik.Web.UI.ToolBarImagePosition
Telerik.Web.UI.ToolBarImagePosition
Returns the URL of the image.
get_imageUrl(): String
String
Returns the index of the item in the toolbar or drop-down list.
get_index(): Object
Object
Gets the DOM element for the innermost SPAN that wraps the item.
get_innerWrapElement(): Element
Element
True if the item is checked.
get_isChecked(): Boolean
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.
get_isEnabled(): Object
Object
Returns whether the item has index 0.
get_isFirst(): Object
Object
Returns whether the item is the last in the toolbar or drop-down list.
get_isLast(): Object
Object
True if the item is separator.
get_isSeparator(): Boolean
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.
get_level(): Object
Object
Gets the anchor DOM element of the toolbar item.
get_linkElement(): Element
Element
Gets the DOM element for the middle SPAN that wraps the item.
get_middleWrapElement(): Element
Element
Returns the URL of the toolbar item(the href attribute of the link). Null if the NavigateUrl server property is not set.
get_navigateUrl(): String
String
The value indicating the Url
Returns the next item in the toolbar or drop-down list.
get_nextSibling(): Telerik.Web.UI.RadToolBarItem
Telerik.Web.UI.RadToolBarItem
Gets the DOM element for the outermost SPAN that wraps the item.
get_outerWrapElement(): Element
Element
True if postback is enabled, false otherwise.
get_postBack(): Boolean
Boolean
boolean
Gets the Url of the page to post to from the current page.
get_postBackUrl(): String
String
The value indicating the Url
Returns the previous item in the toolbar or drop-down list.
get_previousSibling(): Telerik.Web.UI.RadToolBarItem
Telerik.Web.UI.RadToolBarItem
Gets the target of the item. If a target is not set, returns null.
get_target(): String
String
The value indicating the name of the target
Returns the text of the item.
get_text(): String
String
Gets the DOM element for the text of the item.
get_textElement(): Element
Element
Returns the toolbar to which the item belongs.
get_toolBar(): Telerik.Web.UI.RadToolBar
Telerik.Web.UI.RadToolBar
RadToolBar
Returns the text of the item's tool tip.
get_toolTip(): String
String
Returns the value of the item.
get_value(): Object
Object
True if the item is visible.
get_visible(): Boolean
Boolean
boolean
Returns the default button.
getDefaultButton(): Telerik.Web.UI.RadToolBarButton
Telerik.Web.UI.RadToolBarButton
Hides the toolbar item.
hide(): void
Closes the drop-down list.
hideDropDown(): void
Sets a value indicating if a checked button will get unchecked when clicked.
set_allowSelfUnCheck(Boolean value): void
value
Marks or unmarks the checkbox of an item.
set_checked(Boolean value): void
value
Sets name of the CSS class applied to the item when checked.
set_checkedCssClass(String value): void
value
Sets the name of the CSS class to be applied to the button when checked.
set_checkedImageUrl(String value): void
value
Sets marked or unmarked if the item is clicked
set_checkOnClick(Boolean value): void
value
Sets the name of the CSS class to be applied to the button when clicked.
set_clickedCssClass(String value): void
value
Sets the URL of the image when it is clicked.
set_clickedImageUrl(String value): void
value
Sets the value of the CommandArgument property.
set_commandArgument(String value): void
value
Sets the name of the command associated with the item.
set_commandName(String value): void
value
Sets the index of the Default Button.
set_defaultButtonIndex(Number Int): Object
Object
Sets the CSS class for the item when it is disabled.
set_disabledCssClass(String value): void
value
Sets the DisabledImageUrl property of the item
set_disabledImageUrl(String value): void
value
Sets whether the item is enabled.
set_enabled(Boolean value): void
value
Enables/Disables the EnabledDefaultButton mechanism.
set_enableDefaultButton(Object boolean): Object
Object
Sets if the item is focused.
set_focused(Boolean value): void
value
Sets the name of the CSS class to be applied to the button when on focus.
set_focusedCssClass(String value): void
value
Sets the URL of the image when on focus.
set_focusedImageUrl(String value): void
value
Sets the name of the group to which the item belongs.
set_group(String value): void
value
Sets the name of the CSS class to be applied to the button when hovered.
set_hoveredCssClass(String value): void
value
Sets the URL for the hovered-state image.
set_hoveredImageUrl(String value): void
value
Sets the image position of the toolbar item.
set_imagePosition(Telerik.Web.UI.ToolBarImagePosition value): void
Sets the URL for the image.
set_imageUrl(String value): void
value
Sets if the item is separator.
set_isSeparator(Boolean value): void
value
Sets the URL of the item
set_navigateUrl(String value): void
value
Determines if the item should postback.
set_postBack(Boolean value): void
value
Sets the Url of the page to post to from the current page.
set_postBackUrl(String value): void
value
Sets the target of the Node.
set_target(String value): void
value
Sets the text of the item.
set_text(String text): void
text
Sets the text of the item's tool tip.
set_toolTip(String value): void
value
Sets the value of the item.
set_value(Object string): Object
Object
Sets if the item is visible.
set_visible(Boolean value): void
value
Shows the toolbar item.
show(): void
Opens the drop-down list.
showDropDown(): void
Collapses an expanded toolbar item or expands a collapsed toolbar item.
toggle(): void
Unmarks the checkbox of an item.
unCheck(): void