menu.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:1k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="menu.aspx.cs" Inherits="web_personnel_curricula_vitae_menu" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.         <asp:TreeView ID="TreeView1" runat="server" ImageSet="Arrows" Style="position: relative" DataSourceID="XmlDataSource1">
  11.             <ParentNodeStyle Font-Bold="False" />
  12.             <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
  13.             <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
  14.                 VerticalPadding="0px" />
  15.             <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
  16.                 NodeSpacing="0px" VerticalPadding="0px" />
  17.             <DataBindings>
  18.                 <asp:TreeNodeBinding DataMember="parent" TextField="text" />
  19.                 <asp:TreeNodeBinding DataMember="child" NavigateUrlField="url" TargetField="target"
  20.                     TextField="text" />
  21.             </DataBindings>
  22.         </asp:TreeView>
  23.         <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/web/personnel/curricula_vitae/employee_menu.xml">
  24.         </asp:XmlDataSource>
  25.     
  26.     </div>
  27.     </form>
  28. </body>
  29. </html>