ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ImGearDocumentCollection class : documentAdded Event |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function add_documentAdded(handler : Function) function remove_documentAdded(handler : Function) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
.add_documentAdded(handler); .remove_documentAdded(handler); |
The collection will raise this event whenever documents are added or inserted to the collection (as the result of a call to the addDocument or insertDocument methods).
The collection will provide a ImGearDocumentEventArgs as the event argument. When the collection raises this event during the addDocument method, it will provide the ImGearDocument object added ImGearDocument.