ImageGear .NET v24.12 - Updated
insert Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ContextMenu class : insert Method
Inserts the new item into the list of items.
Syntax
ASP.NET Ajax Javascript (Specification) 
function insert( 
   index : Number,
   item : ContextMenuItem
) : Undefined;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfContextMenu.insert(Number,ContextMenuItem);

Parameters

index
Index of position in list for item insert for.
item
The item for insert.

Return Value

The does not returns any value.
Remarks
For insert the item to the end of list the value of size should be passed as index argument.
See Also

Reference

ContextMenu class
ContextMenu Members