Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my requirement is to add a node in the Treeview control under parent control i.e parent name is given by combobox and child name is given by textbox.

on load of page treeview is shown with three parent node. Now user select the parent node from combobox and wirte child node name through textbox. when i click ok chid node come under that parent node.

Also, there should be an option like whether user wants to enter a new node or enter a child node under existing node.

There are only 2 levels.

Ex.

Administrator

1.1

1.2

user

2.1

2.2

So now I should have the option in a combobox that whether I want to add a new node (for ex. 3) or I want to add a child node under 1 or 2.

If I add a new node, then it should automatically come into the Dropdown control.
Posted

1 solution

why do not you try some googling?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900