Edit this page

Telerik.Web.UI.RadMenuItem : Telerik.Web.UI.ControlItem

Inheritance Hierarchy

Methods

bindTemplate

Evaluates the template against the Menu Item's data and applies it.

Parameters

Returns

None

blur

Removes focus from the RadMenuItem

Parameters

Returns

None

click

Simulates a click on the RadMenuItem

Parameters

Returns

None

close

Closes the RadMenuItem

Parameters

Returns

None

disable

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

Parameters

Returns

None

enable

Enables the RadMenuItem if it has been previously disabled

Parameters

Returns

None

focus

Changes the focus to the RadMenuItem

Parameters

Returns

None

focusFirstChild

Changes the focus to the RadMenuItem's first child

Parameters

Returns

None

focusLastChild

Changes the focus to the RadMenuItem's last child

Parameters

Returns

None

focusNextItem

Changes the focus to the RadMenuItem's next sibling

Parameters

Returns

None

focusPreviousItem

Changes the focus to the RadMenuItem's previous sibling

Parameters

Returns

None

get_childListElement

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

Parameters

Returns

None

get_clickedCssClass

Returns the Menu Item's css class if clicked.

Parameters

Returns

String The Menu Item

get_clickedImageURL

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

Parameters

Returns

String The Menu Item Image

get_clientTemplate

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

Parameters

Returns

String The Menu Item

get_disabledCssClass

Returns the Menu Item's css class if disabled.

Parameters

Returns

String The Menu Item

get_disabledImageURL

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

Parameters

Returns

String The Menu Item

get_expandedCssClass

Returns the Menu Item's css class if expanded.

Parameters

Returns

String The Menu Item

get_expandedImageURL

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

Parameters

Returns

String The expand Menu Item

get_expandedMode

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

Parameters

Returns

Number The Menu Item

get_focused

Indicates whether the menu item is focused.

Parameters

Returns

Boolean Boolean

get_focusedCssClass

Returns the Menu Item's css class if focused.

Parameters

Returns

String The Menu Item

get_focusedItem

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

Parameters

Returns

Telerik.Web.UI.RadMenuItem RadMenuItem

get_hoveredImageUrl

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

Parameters

Returns

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

get_imageElement

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

Parameters

Returns

None

get_imageUrl

Gets the URL of the item's image.

Parameters

Returns

String The URL of the item

get_isOpen

Parameters

Returns

None

get_isSeparator

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

Parameters

Returns

Boolean Value indicating if the RadMenuItem is a separator

get_items

Returns the collection of child items.

Parameters

Returns

Telerik.Web.UI.RadMenuItemCollection RadMenuItemCollection

get_level

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

Parameters

Returns

Number The item

get_linkElement

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

Parameters

Returns

Element

get_menu

Returns an instance of the menu that contains the item.

Parameters

Returns

None

get_navigateUrl

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

Parameters

Returns

None

get_nextItem

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

Parameters

Returns

Telerik.Web.UI.RadMenuItem RadMenuItem

get_openedItem

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

Parameters

Returns

Telerik.Web.UI.RadMenuItem RadMenuItem

get_previousItem

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

Parameters

Returns

Telerik.Web.UI.RadMenuItem RadMenuItem

get_selected

Returns whether the item is selected

Parameters

Returns

Boolean Boolean

get_selectedCssClass

Returns the Menu Item's css class if selected.

Parameters

Returns

String The Menu Item

get_selectedImageUrl

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

Parameters

Returns

String

get_templateElement

Returns the html representation of the element's template.

Parameters

Returns

String The item

get_textElement

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

Parameters

Returns

None

hide

Hides the RadMenuItem

Parameters

Returns

None

open

Opens the RadMenuItem to show its children

Parameters

Returns

None

scrollIntoView

Loads next View's Menu Items.

Parameters

Returns

None

select

Selects the RadMenuItem

Parameters

Returns

None

set_clickedCssClass

Sets the Menu Item's css class if clicked.

Parameters

value String

The Menu Item

Returns

None

set_clickedImageURL

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

Parameters

value String

The Menu Item Image

Returns

None

set_clientTemplate

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

Parameters

value String

value

Returns

None

set_disabledCssClass

Sets the Menu Item's css class if disabled.

Parameters

value String

The Menu Item

Returns

None

set_disabledImageURL

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

Parameters

value String

The Menu Item

Returns

None

set_enabled

Sets the enabled state of the item.

Parameters

value Boolean

Value indicating the enabled state of the item.

Returns

None

set_expandedCssClass

Sets the Menu Item's css class if expanded.

Parameters

value String

The Menu Item

Returns

None

set_expandedImageURL

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

Parameters

value String

The expand Menu Item

Returns

None

set_expandedMode

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

Parameters

value Number

The Menu Item

Returns

None

set_focused

Sets focus to the item.

Parameters

value Boolean

value

Returns

None

set_focusedCssClass

Sets the Menu Item's css class if focused.

Parameters

value String

The Menu Item

Returns

None

set_hoveredImageUrl

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

Parameters

value String

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

Returns

None

set_imageUrl

Sets the URL of the item's image.

Parameters

value String

The URL of the item

Returns

None

set_isSeparator

Parameters

Returns

None

set_navigateUrl

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

Parameters

Returns

None

set_selected

Sets the selected property of the item.

Parameters

value Boolean

value

Returns

None

set_selectedCssClass

Sets the Menu Item's css class if selected.

Parameters

value String

The Menu Item

Returns

None

set_selectedImageUrl

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

Parameters

value String

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

Returns

None

set_text

Sets the text of the item.

Parameters

Returns

None

set_visible

Sets the visibility of the item

Parameters

value Boolean

Boolean value indicating the item should be visible

Returns

None

show

Shows the RadMenuItem if it is hidden

Parameters

Returns

None

unselect

Unselects the RadMenuItem

Parameters

Returns

None