Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

eventhandeling

I have been working with the treeview control (Microsoft.Web.UI.WebControls).

But it won't react to the SelectedIndexChange event.

I have put this code:
this.TreeView1.SelectedIndexChange += new Microsoft.Web.UI.WebControls.SelectEventHandler(this.TreeView1_SelectedIndexChange);
in InitializeComponent()

and this code in my project:
private void TreeView1_SelectedIndexChange(object sender, Microsoft.Web.UI.WebControls.TreeViewSelectEventArgs e)
{
TextBox1.Text = "dslkfksdmjklfkj";
}
why doesn't it work?

joekske

Comments

Sign In or Register to comment.