日期:2014-05-18  浏览次数:20563 次

帮我下
<asp:TreeView ID="TreeView1" runat="server" ImageSet="Arrows">
  <ParentNodeStyle Font-Bold="False" />
  <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
  <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" 
  HorizontalPadding="0px" VerticalPadding="0px" />
   
  <Nodes>
  <asp:TreeNode Text="计划组" Value="New Node">
  <asp:TreeNode Text="年工作重点" Value="New Node" NavigateUrl ="javascript:void(window.open('xiangmu/niangongzuo.aspx','','width=600,height=510,scrollbars=yes,toolbar=no, menubar=no, resizable=yes,status=no,top='+(screen.height-510)/2+',left='+(screen.width-600)/2+',fullscreen=0'));" Target="_parent"></asp:TreeNode>
 </asp:TreeNode>

但点击这个页面的时候 他自动是折叠的 不是展开的

------解决方案--------------------
ExpandDepth 这个属性,设置他
0 不展开
1 展开一层
fully 全部展开