Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Dynamically bind to multi-tier hierarchy
posted

A problem I'm having when working with the Silverlight treeview is that I can't seem to bind it to a hierarchical datasource like I did using ASP.NET treeview.  Using the latter technology, I could have an employee table with a field that tells who the employee's manager is, which would be the primary key for another employee record in the same table...basically a self-referencing table.  Using the hierarchical datasource, I could then bind to the treeview and voila!...the parent-child relationships show up magically in the treeview and the nesting level would go as many layers deep as necessary.  How can I replicate this behavior using the Silverlight treeview?  Unless I'm missing something, the examples currently  on the Infragistic's website do not appear to be applicable to this situation.