Hi friends,
I developed two tree control with allocate and unallocate button
allocate button move selected nodes from tree1 to tree2
unallocate button move selected nodes from tree2 to tree1
I done the above points correctly.
Tree 1
- Page Content(Parent Node)
Add Page
List Pages
Add Banner
List Banners
My problem is, first i select few child nodes(List Page,List Banner) from parent node(Page Content)of Tree1 and click allocate button,they will allocate to another tree correctly like below:
Tree 2
List Page
List Banner
if i select remaining child nodes(add page, add banner) from same parent node(Page Content) and click allocate button means, they will not replace the existing nodes with current selection.
instead of that, they look like follows;
Tree 2
List Page
List Banner
- Page Content
Add Page
List Page
Add Banner
List Banner
But I need that, if i select remaining child nodes from same parent means,
I need the output as follows:
- Page Content
Add Page
Add Banner
List Page
List Banner
Please friends help me to solve this