Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.ControlItemContainerTelerik.Web.UI.RadMenu
Events
Adds a itemBlur event handler for the radmenu
add_itemBlur
The event handler function to attach
Adds a itemClicked event handler for the radmenu
add_itemClicked
The event handler function to attach
Adds a itemClicking event handler for the radmenu
add_itemClicking
The event handler function to attach
Adds a itemClosed event handler for the radmenu
add_itemClosed
The event handler function to attach
Adds a itemClosing event handler for the radmenu
add_itemClosing
The event handler function to attach
Adds a itemFocus event handler for the radmenu
add_itemFocus
The event handler function to attach
Adds a itemOpened event handler for the radmenu
add_itemOpened
The event handler function to attach
Adds a itemOpening event handler for the radmenu
add_itemOpening
The event handler function to attach
Adds a itemPopulated event handler for the radmenu
add_itemPopulated
The event handler function to attach
Adds a itemPopulating event handler for the radmenu
add_itemPopulating
The event handler function to attach
Adds a itemPopulationFailed event handler for the radmenu
add_itemPopulationFailed
The event handler function to attach
Adds a load event handler for the radmenu
add_load
The event handler function to attach
Adds a mouseOut event handler for the radmenu
add_mouseOut
The event handler function to attach
Adds a mouseOver event handler for the radmenu
add_mouseOver
The event handler function to attach
Removes a itemBlur event handler from the radmenu
remove_itemBlur
The event handler function to remove
Removes a itemClicked event handler from the radmenu
remove_itemClicked
The event handler function to remove
Removes a itemClicking event handler from the radmenu
remove_itemClicking
The event handler function to remove
Removes a itemClosed event handler from the radmenu
remove_itemClosed
The event handler function to remove
Removes a itemClosing event handler from the radmenu
remove_itemClosing
The event handler function to remove
Removes a itemFocus event handler from the radmenu
remove_itemFocus
The event handler function to remove
Removes a itemOpened event handler from the radmenu
remove_itemOpened
The event handler function to remove
Removes a itemOpening event handler from the radmenu
remove_itemOpening
The event handler function to remove
Removes a itemPopulated event handler from the radmenu
remove_itemPopulated
The event handler function to remove
Removes a itemPopulating event handler from the radmenu
remove_itemPopulating
The event handler function to remove
Removes a itemPopulationFailed event handler from the radmenu
remove_itemPopulationFailed
The event handler function to remove
Removes a load event handler from the radmenu
remove_load
The event handler function to remove
Removes a mouseOut event handler from the radmenu
remove_mouseOut
The event handler function to remove
Removes a mouseOver event handler from the radmenu
remove_mouseOver
The event handler function to remove
Methods
Closes all opened items
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.
commitChanges(): void
Disables all items in the menu. Clicking on any item will no longer have effect, child items cannot be opened.
disable(): void
Disables the control client-side event emitting.
disableEvents(): void
Enables all items in the menu.
enable(): void
Enables the control client-side event emitting. Events are enabled by default.
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/");
findItemByAbsoluteUrl(String url): Telerik.Web.UI.RadMenuItem
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.
findItemByAttribute(String attributeName, String attributeValue): Telerik.Web.UI.RadMenuItem
The attribute name
attributeValueStringThe 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.
findItemByText(String text): Telerik.Web.UI.RadMenuItem
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.
findItemByUrl(String url): Telerik.Web.UI.RadMenuItem
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.
findItemByValue(String value): Telerik.Web.UI.RadMenuItem
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.
focus(): void
Gets a linear collection of all items. This includes all root and child items in the menu.
get_allItems(): Array
Array
Array
Returns the DOM element for the root list of items in the menu.
get_childListElement(): Element
Element
DOM element for the root item list
Returns a boolean value indicating whether click-to-open is enabled
get_clickToOpen(): Boolean
Boolean
Boolean indicating whether click
Returns the delay (in milliseconds) before a menu item closes.
get_collapseDelay(): Number
Number
The delay in milliseconds to wait before closing a menu item.
Returns a boolean value indicating whether auto-scrolling is enabled
get_enableAutoScroll(): Boolean
Boolean
Boolean indicating whether auto
Returns a boolean value indicating whether child items should have rounded corners
get_enableRoundedCorners(): Boolean
Boolean
Boolean indicating whether child items should have rounded corners
Returns a boolean value indicating whether screen boundary detection is enabled
get_enableScreenBoundaryDetection(): Boolean
Boolean
Boolean indicating whether screen boundary detection is enabled
Returns a boolean value whether item selection is enabled
get_enableSelection(): Boolean
Boolean
Boolean indicating whether item selection is enabled.
Returns a boolean value indicating whether child items should have shadows
get_enableShadows(): Boolean
Boolean
Boolean indicating whether child items should have shadows
Returns the delay (in milliseconds) before a menu item expands.
get_expandDelay(): Number
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.
get_focusedItem(): Telerik.Web.UI.RadMenuItem
Telerik.Web.UI.RadMenuItem
The focused root item
Returns the collection of root level items.
get_items(): Telerik.Web.UI.RadMenuItemCollection
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.
get_openedItem(): Telerik.Web.UI.RadMenuItem
Telerik.Web.UI.RadMenuItem
The opened root item
Returns whether items loaded on demand persist on the server.
get_persistLoadOnDemandItems(): Boolean
Boolean
Boolean indicating whether items loaded on demand persist on the server.
Returns the selected menu item. If no item is selected returns null.
get_selectedItem(): Telerik.Web.UI.RadMenuItem
Telerik.Web.UI.RadMenuItem
The selected menu item.
Refreshes the RadMenu UI.
repaint(): void
Sets whether click-to-open is enabled
set_clickToOpen(Boolean value): void
true if click
Sets the delay (in milliseconds) before a menu item closes.
set_collapseDelay(Number delay): void
The delay in milliseconds to wait before closing a menu item.
Sets whether auto-scrolling is enabled
set_enableAutoScroll(Boolean value): void
true if auto
Disables or enables the entire RadMenu. Items will not open and client events will not firee when the Menu is disabled
set_enabled(Boolean value): void
true to enable the Menu or false to disable it.
Sets whether child items should have rounded corners
set_enableRoundedCorners(Boolean value): void
true if child items should have rounded corners
Sets whether screen boundary detection is enabled
set_enableScreenBoundaryDetection(Boolean value): void
true if screen boundary detection should be enabled
Sets whether item selection is enabled
set_enableSelection(Boolean value): void
true to enable item selection or false to disable it.
Sets whether child items should have shadows
set_enableShadows(Boolean value): void
true if child items should have shadows
Sets the delay (in milliseconds) before a menu item expands.
set_expandDelay(Number delay): void
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.
showAt(Number X, Number Y): void
The horizontal value in a pair of coordinates.
YNumberThe 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.
trackChanges(): void