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

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.

JS
bindTemplate(): void

Removes focus from the RadMenuItem

JS
blur(): void

Simulates a click on the RadMenuItem

JS
click(): void

Closes the RadMenuItem

JS
close(): void

Disables the RadMenuItem. Clicking on it will no longer have effect, child items cannot be opened.

JS
disable(): void

Enables the RadMenuItem if it has been previously disabled

JS
enable(): void

Changes the focus to the RadMenuItem

JS
focus(): void

Changes the focus to the RadMenuItem's first child

JS
focusFirstChild(): void

Changes the focus to the RadMenuItem's last child

JS
focusLastChild(): void

Changes the focus to the RadMenuItem's next sibling

JS
focusNextItem(): void

Changes the focus to the RadMenuItem's previous sibling

JS
focusPreviousItem(): void

Gets the DOM element of the list of child items (UL).

JS
get_childListElement(): void

Returns the Menu Item's css class if clicked.

JS
get_clickedCssClass(): String
Returns:

String

Returns the URL of the Menu Item's Image on click.

JS
get_clickedImageURL(): String
Returns:

String

Returns the value of the Menu Item's ClientTemplate property.

JS
get_clientTemplate(): String
Returns:

String

Returns the Menu Item's css class if disabled.

JS
get_disabledCssClass(): String
Returns:

String

Returns the URL of the Menu Item's Image if disabled.

JS
get_disabledImageURL(): String
Returns:

String

Returns the Menu Item's css class if expanded.

JS
get_expandedCssClass(): String
Returns:

String

Returns the URL of the Menu Item's Image for expanding.

JS
get_expandedImageURL(): String
Returns:

String

Returns the value of the Menu Item's Expand Mode - 0 for Client-Side, 1 for WebService.

JS
get_expandedMode(): Number
Returns:

Number

Indicates whether the menu item is focused.

JS
get_focused(): Boolean
Returns:

Boolean

Returns the Menu Item's css class if focused.

JS
get_focusedCssClass(): String
Returns:

String

The Menu Item

Gets the focused child item. Null if no child item is focused.

JS
get_focusedItem(): Telerik.Web.UI.RadMenuItem
Returns:

Telerik.Web.UI.RadMenuItem

Gets the URL of the image displayed when the mouse is over the item.

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 URL of the item's image.

JS
get_imageUrl(): String
Returns:

String

Returns a boolean indicating whether the item is opened or not

JS
get_isOpen(): Boolean
Returns:

Boolean

Returns true if the item is a separator (sever-side property IsSeparator = true)

JS
get_isSeparator(): Boolean
Returns:

Boolean

Returns the collection of child items.

JS
get_items(): Telerik.Web.UI.RadMenuItemCollection
Returns:

Telerik.Web.UI.RadMenuItemCollection

Gets the level of the item. Root level items are first level.

JS
get_level(): Number
Returns:

Number

Gets the anchor DOM element of the item (A).

JS
get_linkElement(): Element
Returns:

Element

Returns an instance of the menu that contains the item.

JS
get_menu(): Telerik.Web.UI.RadMenu
Returns:

Telerik.Web.UI.RadMenu

Gets the URL of the Web page the menu item launches.

JS
get_navigateUrl(): String
Returns:

String

Returns the next sibling of the item. If the item is last, returns null.

JS
get_nextItem(): Telerik.Web.UI.RadMenuItem
Returns:

Telerik.Web.UI.RadMenuItem

Gets the opened child item. Null if no child item is opened.

JS
get_openedItem(): Telerik.Web.UI.RadMenuItem
Returns:

Telerik.Web.UI.RadMenuItem

Returns the previous sibling of the item. If the item is first, returns null.

JS
get_previousItem(): Telerik.Web.UI.RadMenuItem
Returns:

Telerik.Web.UI.RadMenuItem

Returns whether the item is selected

JS
get_selected(): Boolean
Returns:

Boolean

Returns the Menu Item's css class if selected.

JS
get_selectedCssClass(): String
Returns:

String

Gets the URL of the image displayed when item is selected.

JS
get_selectedImageUrl(): String
Returns:

String

Returns the html representation of the element's template.

JS
get_templateElement(): String
Returns:

String

The item

Gets the DOM element of the item text (SPAN).

JS
get_textElement(): Element
Returns:

Element

Hides the RadMenuItem

JS
hide(): void

Opens the RadMenuItem to show its children

JS
open(): void

Loads next View's Menu Items.

JS
scrollIntoView(): void

Selects the RadMenuItem

JS
select(): void

Sets the Menu Item's css class if clicked.

JS
set_clickedCssClass(String value): void
Parameters:valueString

The new CSS class for the item

Sets the URL of the Menu Item's Image on click.

JS
set_clickedImageURL(String value): void
Parameters:valueString

The new Menu Item Image

Sets the value of the Menu Item's ClientTemplate property.

JS
set_clientTemplate(String value): void
Parameters:valueString

The new client template string

Sets the Menu Item's css class if disabled.

JS
set_disabledCssClass(String value): void
Parameters:valueString

The new CSS class for disabled mode

Sets the URL of the Menu Item's Image if disabled.

JS
set_disabledImageURL(String value): void
Parameters:valueString

The new Menu Item disabled image URL

Sets the enabled state of the item.

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

Value indicating the enabled state of the item.

Sets the Menu Item's css class if expanded.

JS
set_expandedCssClass(String value): void
Parameters:valueString

The new CSS class for the expanded state

Sets the URL of the Menu Item's Image for expanding.

JS
set_expandedImageURL(String value): void
Parameters:valueString

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.

JS
set_expandedMode(Number value): void
Parameters:valueNumber

The new Menu Item expand mode

Sets focus to the item.

JS
set_focused(Boolean value): void
Parameters:valueBoolean

Whether the item will be focused

Sets the Menu Item's css class if focused.

JS
set_focusedCssClass(String value): void
Parameters:valueString

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.

JS
set_hoveredImageUrl(String value): void
Parameters:valueString

The new URL of the image displayed when the mouse is over the item.

Sets the URL of the item's image.

JS
set_imageUrl(String value): void
Parameters:valueString

The new URL of the image displayed in the item

Sets whether the item is a separator or a regular item

JS
set_isSeparator(Boolean value): void
Parameters:valueBoolean

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").

JS
set_navigateUrl(String value): void
Parameters:valueString

The new URL the item will navigate to

Sets the selected property of the item.

JS
set_selected(Boolean value): void
Parameters:valueBoolean

Whether the item will be selected

Sets the Menu Item's css class if selected.

JS
set_selectedCssClass(String value): void
Parameters:valueString

The new CSS class for the selected state of the Menu Item

Sets the URL of the image displayed when the item is selected

JS
set_selectedImageUrl(String value): void
Parameters:valueString

The new URL of the image displayed when the item is selected.

Sets the text of the item.

JS
set_text(String value): void
Parameters:valueString

The new text of the item

Sets the visibility of the item

JS
set_visible(Boolean value): void
Parameters:valueBoolean

Boolean value indicating the item should be visible

Shows the RadMenuItem if it is hidden

JS
show(): void

Unselects the RadMenuItem

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