TreeView.aspx
资源名称:OAJP.rar [点击查看]
上传用户:jdb8708888
上传日期:2013-05-29
资源大小:19971k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
C#
- <%@ 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>