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

Open RadTreeList Items in Edit Mode with Double Click

DESCRIPTION

You might find it convenient to provide your users with the option to enter edit mode by double clicking the specific treelist item.

SOLUTION

You can achieve this functionality using the following approach:

<telerik:RadTreeList ID="RadTreeList1" runat="server">
    <ClientSettings>
        <ClientEvents OnItemDblClick="dblClick" />
    </ClientSettings>
</telerik:RadTreeList>

JavaScript:

function dblClick(sender, args) {
    args.get_item().fireCommand("Edit", "");
}
In this article