Version

addItem Method

Add an item to the menu.
Syntax
ASP.NET Ajax Javascript (Specification) 
function addItem( 
   itemText : String,
   parentItem : DataMenuItem
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfWebDataMenu.addItem(String,DataMenuItem);

Parameters

itemText
Specify item text.
parentItem
Specify the parent menu item of the new item that will be added.
See Also