RadMenu for ASP.NET AJAX

RadControls for ASP.NET AJAX

RadMenu has a number of useful methods for accessing the items in the menu. The following table lists these methods:

Method

Parameters

Return Value

Description

GetAllItems

none

IList<RadMenuItem>

Returns a list of all items in the menu, flattening out the menu hierarchy.

FindItemByText

string

RadMenuItem

Returns the first item in the menu whose Text property matches the parameter.

FindItemByUrl

string

RadMenuItem

Returns the first item in the menu whose NavigateUrl property matches the parameter.

FindItemByValue

string

RadMenuItem

Returns the first item in the menu whose Value property matches the parameter.

See Also