aziz999 0 Newbie Poster

Hey!
I'm having a peculiar problem with my treeview control. I have set it up so that the user may add nodes dynamically. The problem is that I am not able to select any node other than the first child of any parent node. For example, if i have the hierarchy as:

parent1
--child1
--child2
parent2

I am not able to select child2 (effectively that means I wont be able to add child nodes to child2). I can select child1 and add nodes. The problem is recursive, meaning I am not able to select the 2nd child of child1 either.

Please help me out with this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.