Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi,
How to dynamically create and add things to tree control? Can anyone please post an example?
Hi Raj,
Take a look at the section of the wiki entitled, "Clone, Create and Delete Things." You'll likely need a Service to create Things from your Mashup and then the Service that is populating your Tree widget will need to be executed whenever you create a new Thing. The easiest way to do this would be to use the
ServiceInvokeCompleted
Event of the Service creating Things to execute the Service that is returning a list of Things.Thanks,
Adam