Asp Control ASP.Net

<%@ Page Language="C#" %>
    
    protected void Button1_Click(object sender, System.EventArgs e)
    {
        TreeView1.ExpandAll();
    }
    
    protected void Button2_Click(object sender, System.EventArgs e)
    {
        TreeView1.CollapseAll();
    }



    TreeView Control


    
        


                         OnClick="Button1_Click" />
                         OnClick="Button2_Click" />
            
            
                 DataSourceId="SiteMapDataSource1">
        
        


    


File: Web.sitemap