Implement a HierarchicalDataBoundControl for ASP.NET
Posted
by Breadtruck
on Stack Overflow
See other posts from Stack Overflow
or by Breadtruck
Published on 2009-07-06T09:58:33Z
Indexed on
2010/03/27
8:03 UTC
Read the original article
Hit count: 554
I want to implement a Hierarchical data bound control for ASP.NET.
I used Implementing IHierarchy Support Into Your Custom Collection as a basis to create my hierarchical collection. I also created a HierarchicalDataSourceControl for the collection. Everything works: I can bind it to an ASP.NET TreeView and it renders the data correctly.
However, I'm stuck on the HierarchicalDataBoundControl. I found examples, but I am still too new at c# / .Net to understand them. I don't quite understand how to implement the examples:
nor
HierarchicalDataBoundControl Class
Does anyone have any tips, or better examples of implementing a control like this?
© Stack Overflow or respective owner