New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientNodeEdited
The OnClientNodeEdited client-side event is called after editing is completed.
The event handler receives parameters:
-
The TreeView instance that fired the event.
-
Event arguments with functions:
-
get_node() retrieves a reference to the node being edited. You can call get_text() from this node reference to get the "new" edited text.
-
get_domEvent() retrieves a DOM event object of the node edit.
The example below displays the new node text just after the user has finished editing it.
ASPNET
<telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1"
runat="server"
AllowNodeEditing="true"
OnClientNodeEdited="ClientNodeEdited">
</telerik:RadTreeView>