TheWizardofInt Posted January 16, 2007 Posted January 16, 2007 I have the treeview added to the page at design time In runtime, I add a bunch of nodes to it Now, I want to select a node by firing the SelectedNode_Changed event It always finds the first node as selected Am I missing something here? Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
LostProgrammer Posted January 17, 2007 Posted January 17, 2007 are u passing treenodeeventargs to the handler? why don't you just use TreeView.Nodes[index].Selected = true ? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.