Hello, I am binding a radtreeview to my custom business objects. I am able to properly display a hierarchy, but I would like to template out the nodes differently, depending on which level I am at. For example, I need one template for the root nodes, and another template for the first child nodes. Is this possible? After searching through documentation and samples, it seems you can either create one "global" template, which applies to all nodes, or template out each node, but this only seems to be possible if you are declaratively building your nodes.
- Edit:
After posting this question, I found another forum post with the same question:
http://www.telerik.com/community/forums/aspnet-ajax/treeview/are-multiple-node-templates.aspx
The example in the download requires generating the templates in code. Is it possible to build the templates declaratively in the aspx file?