1: 2: 3: 4: 5:
<asp:TreeView ID="TreeView1" runat="server" MaxDataBindDepth="3" ontreenodepopulate="TreeView1_TreeNodePopulate" Width="100px" NodeIndent="7"> <Nodes> <asp:TreeNode PopulateOnDemand="True" ></asp:TreeNode> </Nodes> </asp:TreeView>