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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.ControlItemContainerTelerik.Web.UI.RadMenu

Events

Adds a itemBlur event handler for the radmenu

JS
add_itemBlur
Parameters:handlerFunction

The event handler function to attach

Adds a itemClicked event handler for the radmenu

JS
add_itemClicked
Parameters:handlerFunction

The event handler function to attach

Adds a itemClicking event handler for the radmenu

JS
add_itemClicking
Parameters:handlerFunction

The event handler function to attach

Adds a itemClosed event handler for the radmenu

JS
add_itemClosed
Parameters:handlerFunction

The event handler function to attach

Adds a itemClosing event handler for the radmenu

JS
add_itemClosing
Parameters:handlerFunction

The event handler function to attach

Adds a itemFocus event handler for the radmenu

JS
add_itemFocus
Parameters:handlerFunction

The event handler function to attach

Adds a itemOpened event handler for the radmenu

JS
add_itemOpened
Parameters:handlerFunction

The event handler function to attach

Adds a itemOpening event handler for the radmenu

JS
add_itemOpening
Parameters:handlerFunction

The event handler function to attach

Adds a itemPopulated event handler for the radmenu

JS
add_itemPopulated
Parameters:handlerFunction

The event handler function to attach

Adds a itemPopulating event handler for the radmenu

JS
add_itemPopulating
Parameters:handlerFunction

The event handler function to attach

Adds a itemPopulationFailed event handler for the radmenu

JS
add_itemPopulationFailed
Parameters:handlerFunction

The event handler function to attach

Adds a load event handler for the radmenu

JS
add_load
Parameters:handlerFunction

The event handler function to attach

Adds a mouseOut event handler for the radmenu

JS
add_mouseOut
Parameters:handlerFunction

The event handler function to attach

Adds a mouseOver event handler for the radmenu

JS
add_mouseOver
Parameters:handlerFunction

The event handler function to attach

Removes a itemBlur event handler from the radmenu

JS
remove_itemBlur
Parameters:handlerFunction

The event handler function to remove

Removes a itemClicked event handler from the radmenu

JS
remove_itemClicked
Parameters:handlerFunction

The event handler function to remove

Removes a itemClicking event handler from the radmenu

JS
remove_itemClicking
Parameters:handlerFunction

The event handler function to remove

Removes a itemClosed event handler from the radmenu

JS
remove_itemClosed
Parameters:handlerFunction

The event handler function to remove

Removes a itemClosing event handler from the radmenu

JS
remove_itemClosing
Parameters:handlerFunction

The event handler function to remove

Removes a itemFocus event handler from the radmenu

JS
remove_itemFocus
Parameters:handlerFunction

The event handler function to remove

Removes a itemOpened event handler from the radmenu

JS
remove_itemOpened
Parameters:handlerFunction

The event handler function to remove

Removes a itemOpening event handler from the radmenu

JS
remove_itemOpening
Parameters:handlerFunction

The event handler function to remove

Removes a itemPopulated event handler from the radmenu

JS
remove_itemPopulated
Parameters:handlerFunction

The event handler function to remove

Removes a itemPopulating event handler from the radmenu

JS
remove_itemPopulating
Parameters:handlerFunction

The event handler function to remove

Removes a itemPopulationFailed event handler from the radmenu

JS
remove_itemPopulationFailed
Parameters:handlerFunction

The event handler function to remove

Removes a load event handler from the radmenu

JS
remove_load
Parameters:handlerFunction

The event handler function to remove

Removes a mouseOut event handler from the radmenu

JS
remove_mouseOut
Parameters:handlerFunction

The event handler function to remove

Removes a mouseOver event handler from the radmenu

JS
remove_mouseOver
Parameters:handlerFunction

The event handler function to remove

Methods

Closes all opened items

JS
close(): void

Writes the changes to the listbox that were made since a previous call to trackChanges, so that they are preserved over post-backs.

JS
commitChanges(): void

Disables all items in the menu. Clicking on any item will no longer have effect, child items cannot be opened.

JS
disable(): void

Disables the control client-side event emitting.

JS
disableEvents(): void

Enables all items in the menu.

JS
enable(): void

Enables the control client-side event emitting. Events are enabled by default.

JS
enableEvents(): void

Returns the first RadMenuItem object whose NavigateUrl property is equal to the passed parameter. Note that the parameter should end with "/" for example: var item = sender.findItemByAbsoluteUrl("http://www.test.com/");

JS
findItemByAbsoluteUrl(String url): Telerik.Web.UI.RadMenuItem
Parameters:urlString

NavigateUrl of the Item

Returns:

Telerik.Web.UI.RadMenuItem

The first RadMenuItem found

Returns the first RadMenuItem object with a custom attribute of the specified name and value.

JS
findItemByAttribute(String attributeName, String attributeValue): Telerik.Web.UI.RadMenuItem
Parameters:attributeNameString

The attribute name

attributeValueString

The attribute value

Returns:

Telerik.Web.UI.RadMenuItem

The first RadMenuItem found

Returns the first RadMenuItem object whose Text property is equal to the passed parameter.

JS
findItemByText(String text): Telerik.Web.UI.RadMenuItem
Parameters:textString

Text of the Item

Returns:

Telerik.Web.UI.RadMenuItem

The first RadMenuItem found

Returns the first RadMenuItem object whose NavigateUrl property is equal to the passed parameter.

JS
findItemByUrl(String url): Telerik.Web.UI.RadMenuItem
Parameters:urlString

NavigateUrl of the Item

Returns:

Telerik.Web.UI.RadMenuItem

The first RadMenuItem found

Returns the first RadMenuItem object whose Value property is equal to the passed parameter.

JS
findItemByValue(String value): Telerik.Web.UI.RadMenuItem
Parameters:valueString

Value of the Item

Returns:

Telerik.Web.UI.RadMenuItem

The first RadMenuItem found

Brings the focus to the menu so that it can be controlled via the keyboard.

JS
focus(): void

Gets a linear collection of all items. This includes all root and child items in the menu.

JS
get_allItems(): Array
Returns:

Array

Array

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

JS
get_childListElement(): Element
Returns:

Element

DOM element for the root item list

Returns a boolean value indicating whether click-to-open is enabled

JS
get_clickToOpen(): Boolean
Returns:

Boolean

Boolean indicating whether click

Returns the delay (in milliseconds) before a menu item closes.

JS
get_collapseDelay(): Number
Returns:

Number

The delay in milliseconds to wait before closing a menu item.

Returns a boolean value indicating whether auto-scrolling is enabled

JS
get_enableAutoScroll(): Boolean
Returns:

Boolean

Boolean indicating whether auto

Returns a boolean value indicating whether child items should have rounded corners

JS
get_enableRoundedCorners(): Boolean
Returns:

Boolean

Boolean indicating whether child items should have rounded corners

Returns a boolean value indicating whether screen boundary detection is enabled

JS
get_enableScreenBoundaryDetection(): Boolean
Returns:

Boolean

Boolean indicating whether screen boundary detection is enabled

Returns a boolean value whether item selection is enabled

JS
get_enableSelection(): Boolean
Returns:

Boolean

Boolean indicating whether item selection is enabled.

Returns a boolean value indicating whether child items should have shadows

JS
get_enableShadows(): Boolean
Returns:

Boolean

Boolean indicating whether child items should have shadows

Returns the delay (in milliseconds) before a menu item expands.

JS
get_expandDelay(): Number
Returns:

Number

The delay in milliseconds to wait before expanding a menu item.

Returns the currently focused root level item. Returns null if no root item has focus.

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

Telerik.Web.UI.RadMenuItem

The focused root item

Returns the collection of root level items.

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

Telerik.Web.UI.RadMenuItemCollection

RadMenuItemCollection

Returns the currently opened root level item. If no item is opened at the root level the method will return null.

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

Telerik.Web.UI.RadMenuItem

The opened root item

Returns whether items loaded on demand persist on the server.

JS
get_persistLoadOnDemandItems(): Boolean
Returns:

Boolean

Boolean indicating whether items loaded on demand persist on the server.

Returns the selected menu item. If no item is selected returns null.

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

Telerik.Web.UI.RadMenuItem

The selected menu item.

Refreshes the RadMenu UI.

JS
repaint(): void

Sets whether click-to-open is enabled

JS
set_clickToOpen(Boolean value): void
Parameters:valueBoolean

true if click

Sets the delay (in milliseconds) before a menu item closes.

JS
set_collapseDelay(Number delay): void
Parameters:delayNumber

The delay in milliseconds to wait before closing a menu item.

Sets whether auto-scrolling is enabled

JS
set_enableAutoScroll(Boolean value): void
Parameters:valueBoolean

true if auto

Disables or enables the entire RadMenu. Items will not open and client events will not firee when the Menu is disabled

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

true to enable the Menu or false to disable it.

Sets whether child items should have rounded corners

JS
set_enableRoundedCorners(Boolean value): void
Parameters:valueBoolean

true if child items should have rounded corners

Sets whether screen boundary detection is enabled

JS
set_enableScreenBoundaryDetection(Boolean value): void
Parameters:valueBoolean

true if screen boundary detection should be enabled

Sets whether item selection is enabled

JS
set_enableSelection(Boolean value): void
Parameters:valueBoolean

true to enable item selection or false to disable it.

Sets whether child items should have shadows

JS
set_enableShadows(Boolean value): void
Parameters:valueBoolean

true if child items should have shadows

Sets the delay (in milliseconds) before a menu item expands.

JS
set_expandDelay(Number delay): void
Parameters:delayNumber

The delay in milliseconds to wait before expanding a menu item.

Displays the menu as a pop-up at the coordinates specified by the parameters.

JS
showAt(Number X, Number Y): void
Parameters:XNumber

The horizontal value in a pair of coordinates.

YNumber

The vertical value in a pair of coordinates.

Begins tracking changes to the RadMenu items. Only changes to the items that occur between a call to trackChanges and commitChanges persist after a postback.

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