In my scenario I am building a tree structure.
There are three buttons:
- Button number 1 - for adding parent node
- Button number 2 - for adding child node
- Button number 3 - for removing it
There is a textbox which is entering the parent node.
When user enter a parent node and click on button number 2 then a textbox should come under the parent.
Number of times the button is clicked respective times textbox should be generated.
Tell me how to achieve this in MVC as I am new to MVC.