New to Telerik UI for ASP.NET AJAX? Start a 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:
ASP.NET
<telerik:RadTreeList ID="RadTreeList1" runat="server">
<ClientSettings>
<ClientEvents OnItemDblClick="dblClick" />
</ClientSettings>
</telerik:RadTreeList>
JavaScript:
JavaScript
function dblClick(sender, args) {
args.get_item().fireCommand("Edit", "");
}