New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnItemClick

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

Fired byRadTreeList
Argumentsget_item() - the clicked TreeListDataItem object
Can be canceledNo

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:

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

See Also

In this article
ExampleSee Also
Not finding the help you need?
Contact Support