CascadingMenuAddMenuItem Method |
Add a menu item to the menu.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected void AddMenuItem(
string commandName,
string text,
string toolTip,
string onClickJS,
CascadingMenu submenu,
CascadingMenuFlags flags
)
Protected Sub AddMenuItem (
commandName As String,
text As String,
toolTip As String,
onClickJS As String,
submenu As CascadingMenu,
flags As CascadingMenuFlags
)
Parameters
- commandName
- Type: SystemString
The unique command name. - text
- Type: SystemString
The menu item text. - toolTip
- Type: SystemString
The menu item tooltip. - onClickJS
- Type: SystemString
Javascript to execute when menu item is clicked. - submenu
- Type: NetQuarry.WebControlsCascadingMenu
Optional submenu to present when menu item is clicked. - flags
- Type: NetQuarry.WebControlsCascadingMenuFlags
Flags specifying how menu item is to be generated.
See Also