New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


This event is fired when each of the TreeListDataItem client components is created.

The RadTreeList client TreeListDataItem objects will not be created until they are requested, for example by calling TreeListInstance.get_dataItems(). Until then, the OnItemCreated client event of the control will not fire.

Fired by RadTreeList
Arguments get_item() - the created TreeListDataItem object
Can be canceled No


function ItemCreated(sender, eventArgs) {
    alert('Created item with client key value: ' + eventArgs.get_item().get_dataKeyValue('LastName'));

See Also

In this article