Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.ControlItemTelerik.Web.UI.RadMenuItem
Methods
Evaluates the template against the Menu Item's data and applies it.
bindTemplate(): void
Removes focus from the RadMenuItem
blur(): void
Simulates a click on the RadMenuItem
click(): void
Closes the RadMenuItem
close(): void
Disables the RadMenuItem. Clicking on it will no longer have effect, child items cannot be opened.
disable(): void
Enables the RadMenuItem if it has been previously disabled
enable(): void
Changes the focus to the RadMenuItem
focus(): void
Changes the focus to the RadMenuItem's first child
focusFirstChild(): void
Changes the focus to the RadMenuItem's last child
focusLastChild(): void
Changes the focus to the RadMenuItem's next sibling
focusNextItem(): void
Changes the focus to the RadMenuItem's previous sibling
focusPreviousItem(): void
Gets the DOM element of the list of child items (UL).
get_childListElement(): void
Returns the Menu Item's css class if clicked.
get_clickedCssClass(): String
String
Returns the URL of the Menu Item's Image on click.
get_clickedImageURL(): String
String
Returns the value of the Menu Item's ClientTemplate property.
get_clientTemplate(): String
String
Returns the Menu Item's css class if disabled.
get_disabledCssClass(): String
String
Returns the URL of the Menu Item's Image if disabled.
get_disabledImageURL(): String
String
Returns the Menu Item's css class if expanded.
get_expandedCssClass(): String
String
Returns the URL of the Menu Item's Image for expanding.
get_expandedImageURL(): String
String
Returns the value of the Menu Item's Expand Mode - 0 for Client-Side, 1 for WebService.
get_expandedMode(): Number
Number
Indicates whether the menu item is focused.
get_focused(): Boolean
Boolean
Returns the Menu Item's css class if focused.
get_focusedCssClass(): String
String
The Menu Item
Gets the focused child item. Null if no child item is focused.
get_focusedItem(): Telerik.Web.UI.RadMenuItem
Telerik.Web.UI.RadMenuItem
Gets the URL of the image displayed when the mouse is over the item.
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 URL of the item's image.
get_imageUrl(): String
String
Returns a boolean indicating whether the item is opened or not
get_isOpen(): Boolean
Boolean
Returns true if the item is a separator (sever-side property IsSeparator = true)
get_isSeparator(): Boolean
Boolean
Returns the collection of child items.
get_items(): Telerik.Web.UI.RadMenuItemCollection
Telerik.Web.UI.RadMenuItemCollection
Gets the level of the item. Root level items are first level.
get_level(): Number
Number
Gets the anchor DOM element of the item (A).
get_linkElement(): Element
Element
Returns an instance of the menu that contains the item.
get_menu(): Telerik.Web.UI.RadMenu
Telerik.Web.UI.RadMenu
Gets the URL of the Web page the menu item launches.
get_navigateUrl(): String
String
Returns the next sibling of the item. If the item is last, returns null.
get_nextItem(): Telerik.Web.UI.RadMenuItem
Telerik.Web.UI.RadMenuItem
Gets the opened child item. Null if no child item is opened.
get_openedItem(): Telerik.Web.UI.RadMenuItem
Telerik.Web.UI.RadMenuItem
Returns the previous sibling of the item. If the item is first, returns null.
get_previousItem(): Telerik.Web.UI.RadMenuItem
Telerik.Web.UI.RadMenuItem
Returns whether the item is selected
get_selected(): Boolean
Boolean
Returns the Menu Item's css class if selected.
get_selectedCssClass(): String
String
Gets the URL of the image displayed when item is selected.
get_selectedImageUrl(): String
String
Returns the html representation of the element's template.
get_templateElement(): String
String
The item
Gets the DOM element of the item text (SPAN).
get_textElement(): Element
Element
Hides the RadMenuItem
hide(): void
Opens the RadMenuItem to show its children
open(): void
Loads next View's Menu Items.
scrollIntoView(): void
Selects the RadMenuItem
select(): void
Sets the Menu Item's css class if clicked.
set_clickedCssClass(String value): void
The new CSS class for the item
Sets the URL of the Menu Item's Image on click.
set_clickedImageURL(String value): void
The new Menu Item Image
Sets the value of the Menu Item's ClientTemplate property.
set_clientTemplate(String value): void
The new client template string
Sets the Menu Item's css class if disabled.
set_disabledCssClass(String value): void
The new CSS class for disabled mode
Sets the URL of the Menu Item's Image if disabled.
set_disabledImageURL(String value): void
The new Menu Item disabled image URL
Sets the enabled state of the item.
set_enabled(Boolean value): void
Value indicating the enabled state of the item.
Sets the Menu Item's css class if expanded.
set_expandedCssClass(String value): void
The new CSS class for the expanded state
Sets the URL of the Menu Item's Image for expanding.
set_expandedImageURL(String value): void
The new expand image URL for the Menu Item
Sets the value of the Menu Item's Expand Mode - 0 for Client-Side, 1 for WebService.
set_expandedMode(Number value): void
The new Menu Item expand mode
Sets focus to the item.
set_focused(Boolean value): void
Whether the item will be focused
Sets the Menu Item's css class if focused.
set_focusedCssClass(String value): void
The new CSS class for the focused state of the item
Sets the URL of the image displayed when the mouse is over the item.
set_hoveredImageUrl(String value): void
The new URL of the image displayed when the mouse is over the item.
Sets the URL of the item's image.
set_imageUrl(String value): void
The new URL of the image displayed in the item
Sets whether the item is a separator or a regular item
set_isSeparator(Boolean value): void
Pass true to get a separator item
Sets the navigateURL property of the item. This is the URL of the Web page the menu item launches. The navigateUrl property must be an absolute URL on the client side: (e.g. "http://mydomain.com/default.aspx" not "default.aspx").
set_navigateUrl(String value): void
The new URL the item will navigate to
Sets the selected property of the item.
set_selected(Boolean value): void
Whether the item will be selected
Sets the Menu Item's css class if selected.
set_selectedCssClass(String value): void
The new CSS class for the selected state of the Menu Item
Sets the URL of the image displayed when the item is selected
set_selectedImageUrl(String value): void
The new URL of the image displayed when the item is selected.
Sets the text of the item.
set_text(String value): void
The new text of the item
Sets the visibility of the item
set_visible(Boolean value): void
Boolean value indicating the item should be visible
Shows the RadMenuItem if it is hidden
show(): void
Unselects the RadMenuItem
unselect(): void