Hi,
I am using RadTreeView control.I have implemented context menu for renaming,While renaming the node if i delete the text and press tab it should give default string "Runjith".
I tryed under this "treeview_Edited(object sender, RadTreeViewItemEditedEventArgs e)" event
e.Source = "Runjith";
treeview.SelectedItem = (RunjithNode)e.Source;
I am getting error for this line(treeview.SelectedItem = (RunjithNode)e.Source;)"Additional information: Unable to cast object of type 'System.String' to type 'xyz.namespace.Runjith'." Runjith class inherits RadTreeViewItem.
How to fix please help me ASAP................
BR,Runjith
I am using RadTreeView control.I have implemented context menu for renaming,While renaming the node if i delete the text and press tab it should give default string "Runjith".
I tryed under this "treeview_Edited(object sender, RadTreeViewItemEditedEventArgs e)" event
e.Source = "Runjith";
treeview.SelectedItem = (RunjithNode)e.Source;
I am getting error for this line(treeview.SelectedItem = (RunjithNode)e.Source;)"Additional information: Unable to cast object of type 'System.String' to type 'xyz.namespace.Runjith'." Runjith class inherits RadTreeViewItem.
How to fix please help me ASAP................
BR,Runjith