Edit this page

OnItemClick

This event is fired when a data item is clicked in RadTreeList.

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

Example

You can execute code on a certain event in the TreeList by attaching a function to the event in the ClientSettings-ClientEvents tag of the control:

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

See Also