treeview的无刷新效果
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="treetest2.aspx.cs" Inherits="treetest2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TreeView id="TreeView1" runat="server" Width="163px" Height="285px" ImageSet="News" ShowLines="True">
<ParentNodeStyle Font-Bold="False"></ParentNodeStyle>
<HoverNodeStyle ForeColor="#6666AA" Font-Underline="True"></HoverNodeStyle>
<SelectedNodeStyle BackColor="#B5B5B5" HorizontalPadding="0px" VerticalPadding="0px" Font-Underline="False"></SelectedNodeStyle>
<Nodes>
<asp:TreeNode Text="实验大纲" Value="实验大纲" SelectAction="Expand"><asp:TreeNode Text="实验大纲模板" Value="实验大纲模板"></asp:TreeNode>
<asp:TreeNode Text="查看委培大纲" Value="查看委培大纲"></asp:TreeNode>
<asp:TreeNode Text="提交实验大纲" Value="提交实验大纲"></asp:TreeNode>
<asp:TreeNode Text="查看实验大纲" Value="查看实验大纲"></asp:TreeNode>
<asp:TreeNode Text="实验状态查询" Value="实验状态查询"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="运行表" Value="运行表" SelectAction="Expand"><asp:TreeNode Text="提交运行表" Value="提交运行表"></asp:TreeNode>
<asp:TreeNode Text="查看运行表" Value="查看运行表"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="审核查看" Value="审核查看" Expanded="False" SelectAction="Expand"><asp:TreeNode Text="实验大纲审核" Value="实验大纲审核"></asp:TreeNode>
<asp:TreeNode Text="实验提交情况" Value="实验提交情况"></asp:TreeNode>
<asp:TreeNode Text="运行表提交情况" Value="运行表提交情况"></asp:TreeNode>
<asp:TreeNode Text="运行表提交" Value="运行表提交"></asp:TreeNode>
<asp:TreeNode Text="统计表管理" Value="统计表管理"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="网站管理" Value="网站管理" Expanded="False" SelectAction="Expand"><asp:TreeNode Text="添加用户" Value="添加用户"></asp:TreeNode>
<asp:TreeNode Text="添加课程" Value="添加课程"></asp:TreeNode>
<asp:TreeNode Text="文件管理" Value="文件管理"></asp:TreeNode>
<asp:TreeNode Text="消息管理" Value="消息管理"></asp:TreeNode>
<asp:TreeNode Text="委培大纲管理" Value="委培大纲管理"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="修改密码" Value="修改密码" Expanded="False"></asp:TreeNode>
<asp:TreeNode Text="注销退出" Value="注销退出" Expanded="False"></asp:TreeNode>
</Nodes>
<NodeStyle NodeSpacing="0px" HorizontalPadding="5px" ForeColor="Black" VerticalPadding="1px" Font-Size="8pt" Font-Names="Tahoma"></NodeStyle>
</asp:TreeView>
</div>
</form>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TreeView id="TreeView1" runat="server" Width="163px" Height="285px" ImageSet="News" ShowLines="True">
<ParentNodeStyle Font-Bold="False"></ParentNodeStyle>
<HoverNodeStyle ForeColor="#6666AA" Font-Underline="True"></HoverNodeStyle>
<SelectedNodeStyle BackColor="#B5B5B5" HorizontalPadding="0px" VerticalPadding="0px" Font-Underline="False"></SelectedNodeStyle>
<Nodes>
<asp:TreeNode Text="实验大纲" Value="实验大纲" SelectAction="Expand"><asp:TreeNode Text="实验大纲模板" Value="实验大纲模板"></asp:TreeNode>
<asp:TreeNode Text="查看委培大纲" Value="查看委培大纲"></asp:TreeNode>
<asp:TreeNode Text="提交实验大纲" Value="提交实验大纲"></asp:TreeNode>
<asp:TreeNode Text="查看实验大纲" Value="查看实验大纲"></asp:TreeNode>
<asp:TreeNode Text="实验状态查询" Value="实验状态查询"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="运行表" Value="运行表" SelectAction="Expand"><asp:TreeNode Text="提交运行表" Value="提交运行表"></asp:TreeNode>
<asp:TreeNode Text="查看运行表" Value="查看运行表"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="审核查看" Value="审核查看" Expanded="False" SelectAction="Expand"><asp:TreeNode Text="实验大纲审核" Value="实验大纲审核"></asp:TreeNode>
<asp:TreeNode Text="实验提交情况" Value="实验提交情况"></asp:TreeNode>
<asp:TreeNode Text="运行表提交情况" Value="运行表提交情况"></asp:TreeNode>
<asp:TreeNode Text="运行表提交" Value="运行表提交"></asp:TreeNode>
<asp:TreeNode Text="统计表管理" Value="统计表管理"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="网站管理" Value="网站管理" Expanded="False" SelectAction="Expand"><asp:TreeNode Text="添加用户" Value="添加用户"></asp:TreeNode>
<asp:TreeNode Text="添加课程" Value="添加课程"></asp:TreeNode>
<asp:TreeNode Text="文件管理" Value="文件管理"></asp:TreeNode>
<asp:TreeNode Text="消息管理" Value="消息管理"></asp:TreeNode>
<asp:TreeNode Text="委培大纲管理" Value="委培大纲管理"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="修改密码" Value="修改密码" Expanded="False"></asp:TreeNode>
<asp:TreeNode Text="注销退出" Value="注销退出" Expanded="False"></asp:TreeNode>
</Nodes>
<NodeStyle NodeSpacing="0px" HorizontalPadding="5px" ForeColor="Black" VerticalPadding="1px" Font-Size="8pt" Font-Names="Tahoma"></NodeStyle>
</asp:TreeView>
</div>
</form>
</body>
</html>