Click here to Skip to main content
11,642,402 members (61,533 online)
Rate this: bad
Please Sign up or sign in to vote.
Hi all,

I have a single custom list and two content type with some fields.Dynamically how can I add child node in a selected treeview parent node.

Hi Manas,
I have a single ManageGroup list with two folder content type.I have added three site column in each folder content type.Suppose, i have selected parent folder content type or child folder content type, that value is going to add in ManageGroup list. I am able to populate list item in a treeview.

Parent Node - Banglore Group
Child Node - Banglore SubGroup
Now, my question , suppose i have seleted Banglore Group, then Banglore SubGroup should be add under the Banglore Group.

Any solution plz?
Posted 11-Jul-12 4:14am
Edited 15-Jul-12 13:42pm
(no name)100.1K
darshan_ur at 11-Jul-12 10:21am
Could you please provide with some more details. If you want to fill in the nodes dynamically when user selects then you could create a mouse left click or mouse double click event for treeview and from these events you can get the selected nodes and dynamically add nodes to selected node.
Sandeep Mewara at 16-Jul-12 8:43am
Sounds like you are targeting this question to some one person. Is so?
aspnet_regiis at 16-Jul-12 9:55am
I think the CP directly copy-pasted the issue from the official email communication without realising that it contains the salutation as well.. :)

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

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 16 Jul 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100