TreeView - Server side template


About this example


This demo shows the templates support in DJME2 TreeView

You can set the template for the contents of a given item in the following way:


<%
   Ajax.Dna().TreeView()
         .Items(items=>{
            items.Add().Template(()=>{
               %>
               - - Your template content here  - ->
               <%
            });
         })
         .Render();
%>