TreeView.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:2k
- <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
- <%@ Page language="c#" Codebehind="TreeView.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.MoveTeam.TreeView" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>项目移动</title>
- <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
- <script language="javascript">
- function confirmRemove()
- {
- var parwin = window.dialogArguments;
- tdText = TreeView1.getTreeNode(TreeView1.selectedNodeIndex).getAttribute("Text")
- if(confirm("您确认要移动原项目至 <<"+tdText+">> ?"))
- {
- parwin.location="TreeView.aspx?Action=1&FromID=<%=FromID%>&ToID="+TreeView1.getTreeNode(TreeView1.selectedNodeIndex).getAttribute("ID");
- window.close();
- parwin.alert('移动成功!');
- parwin.parent.location.reload();
- }
- }
- </script>
- </HEAD>
- <body MS_POSITIONING="GridLayout">
- <table width="33%" border="0">
- <tr>
- <td> <iewc:treeview id="TreeView1" ondblclick="javascript:confirmRemove()" runat="server"></iewc:treeview></td>
- </tr>
- <tr>
- <td> <FONT face="宋体"> <BR>
- </FONT><INPUT class="ButtonCss" type="button" value="确定" onclick="confirmRemove()"></td>
- </tr>
- </table>
- <form id="TreeView" method="post" runat="server">
- </form>
- </body>
- </HTML>