Click to See Complete Forum and Search --> : TreeView node selection


October 7th, 1999, 02:19 PM
Hi,

I require editing the node of a TreeView control but the default behavior is not according to my need. When I select a node and then click again, edit box shows the original text for editing. I want to replace original text with the text defined by me before starting the editing. I tried TreeView1.SelectedItem.Text =”mytext” in BeforeLabelEdit handler but it did not work. Can any body tell me the right way to implement this behavior?
Thanks in advance
Muhammad Aslam