ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / ContextMenu class / insert Method

In This Topic
    insert Method
    In This Topic
    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