Articles in this section

How to get the text after renaming a node on client side?

The renamed text from client side can be obtained as follows.

C#

function nodeRename(oNodeEventData) {
            //sourceNode is the node which is renamed and newText is the renamed text.
            var sText = "TreeNode name " + oNodeEventData.OldText + " is remaned to " + oNodeEventData.Text;
            document.getElementById('newText').value = sText;
        }
< cc1:treeview id="Treeview2" runat="server" ClientSideOnNodeRename="nodeRename">
 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied