Why the label.text is not showing the correct result after clicking three time on treeview.
I have TreeView1 and TreeView2 on my webpage and a label1
TreeView1 a list of items and TreeView2 contains another list of items
Now the first time I click on TreeView1 on the first item which is "Hello" label1.text show me Hello
the second time when I click on TreeView2 on the first item which is "World" label1.text show me World
the third time I clicked on TreeView1 on the first item again which is "Hello" label1.text show me World. label1.text suppose to show me Hello, right?
What could be the problem what am I missing?
protected void TreeView1_SelectedNodeChanged1(object sender, EventArgs e)
Label1.Text = TreeView1.SelectedValue;
protected void TreeView2_SelectedNodeChanged(object sender, EventArgs e)
Label1.Text = TreeView2.SelectedValue;
View Complete Post