I have an object model (I am using LINQ) that has a HealthCenter as the top level object.ÃÂ HealthCenter has a Sites collection and a Providers collection.ÃÂ
ÃÂ
Ideally, I want to show this in a TreeView like:
ÃÂ
HealthCenter 1
ÃÂ ÃÂ Sites
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ Site 1
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ....
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ SiteÃÂ n
ÃÂ ÃÂ Providers
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ Provider 1
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ....
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ProviderÃÂ n
...
HealthCenter n
ÃÂ ÃÂ ÃÂ ...
ÃÂ
ÃÂ
I could also live without the Sites and Providers nodes (which are notÃÂ _really_ part of my objects, just logical)ÃÂ if I had to, as long as I can apply different templates to each type.ÃÂ So far I've been unable to figure out how to do this.
View Complete Post