<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>无标题页</title>
<link href="../../css/sheet.css" type="text/css"
rel="stylesheet">
<style>
.cssSelectUser
{
height:300px;width:300px; height:300px;
position:absolute;display:none;background-color:Cyan;
filter:alpha(opacity=50);
}
</style>
<script type="text/javascript"> function
ShowUserTree(isShowChecker)
{
var divv=document.getElementById("mengban");
divv.style.display="block";
divv.style.filter="Alpha(opacity=30,style=0)";
divv.style.left="0px";
divv.style.top="0px";
divv.style.width=document.body.scrollWidth+165;
divv.style.height=document.body.scrollHeight;
divv.style.disabled="true";
divv.style.zIndex=99;
divv.innerHTML="<div
style='position:absolute;left:"+
(document.body.clientWidth/2) +"px; top:0px; width:100%;
z-index:100;'><img src='../../images/bodysuo.gif' alt='
此页面已被禁用' /></div>";
window.status =
document.body.clientWidth/2;
if(isShowChecker == false)
{
var txtUserList =
document.getElementById("txtReceiver");
if(txtUserList.value.length>0 &&
txtUserList.value.substring(txtUserList.value.length-1)
!= ",")
txtUserList.value += ",";
var divTree =
document.getElementById("divSelectUser");
divTree.style.display = "block";
divTree.style.zIndex=101;
divTree.style.left=
(document.body.clientWidth-parseInt(divTree.style.width)
)/2;
divTree.style.top=
(document.body.clientHeight-parseInt(divTree.style.heigh
t))/2;
Drag.init(divTree);
}
else
{
var txtUserList =
document.getElementById("txtChecker");
//
alert(txtUserList.value.substring(txtUserList.value.leng
th-1));
if(txtUserList.value.length>0 &&
txtUserList.value.substring(txtUserList.value.length-1)
!= ",")
txtUserList.value += ",";
var divTree =
document.getElementById("divSelectChecker");
divTree.style.display = "block";
divTree.style.zIndex=101;
divTree.style.left=
(document.body.clientWidth-parseInt(divTree.style.width)
)/2;
divTree.style.top=
(document.body.clientHeight-parseInt(divTree.style.heigh
t))/2;
Drag.init(divTree);
}
}
function CancelAddUser()
{
var divv=document.getElementById("mengban");
divv.style.display="none";
var divTree =
document.getElementById("divSelectUser");
if(divTree)
divTree.style.display = "none";
var divTree1 =
document.getElementById("divSelectChecker");
if(divTree1)
divTree1.style.display = "none";
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="mengban"
style="position:absolute;width:100%; height:100%;
background-color:black; display:none;"></div>
<table align="center" cellPadding="4" cellSpacing="0"
width="99%" class="dtTABLE" id="tableUpFile">
<tr>
<td nowrap>发布范围</td>
<td nowrap colspan="3">
<input type="text" id="txtReceiver" value="" style="
width:300px;" readonly runat="server"
onclick="ShowUserTree(false)" />
<img id="btnShowUserTree" onclick="ShowUserTree(false)"
alt="选择收件人" src="../../images/addpeople.gif"
onmouseover=""/>
<img src="../../images/delete.gif" alt="清空
收件人" onclick="ClearUserList()"/>
</td>
</tr>
</table>
<div class="cssSelectUser" id="divSelectUser">
<table width="99%" style="height:300px;"
cellpadding="0" cellspacing="0">
<tr><td width="60%">
<div style="overflow:auto; width:298px; top:20px;
height:230px; position:relative; padding-left:5px;">
<asp:TreeView
ID="TreeViewUserList" Target="left" runat="server"
BorderStyle="None" ImageSet="Arrows"
AutoGenerateDataBindings="False" ShowCheckBoxes="All"
ExpandDepth="0"
OnTreeNodePopulate="TreeView1_TreeNodePopulate">
<DataBindings>
<asp:TreeNodeBinding
DataMember="GroupItem" NavigateUrlField="NavigateUrl"
TextField="Text"
ToolTipField="ToolTip"
ValueField="GroupId" />
</DataBindings>
<ParentNodeStyle
Font-Bold="False" />
<HoverNodeStyle
Font-Underline="True" ForeColor="#5555DD" />
<SelectedNodeStyle
Font-Underline="True" HorizontalPadding="0px"
VerticalPadding="0px"
ForeColor="#5555DD" />
<NodeStyle Font-Names="Verdana"
Font-Size="8pt" ForeColor="Black"
HorizontalPadding="5px"
NodeSpacing="0px"
VerticalPadding="0px" />
<Nodes>
<asp:TreeNode
Expanded="False" PopulateOnDemand="True"
SelectAction="Expand"></asp:TreeNode>
</Nodes>
</asp:TreeView>
</div>
</tr>
<tr><td align="center"
valign="middle"> <input id="Button1"
onclick="CancelAddUser()" type="button" value="关闭"
/> </td></tr>
</table>
</div>
<asp:PlaceHolder ID="PlaceHolder1"
runat="server"></asp:PlaceHolder>
<asp:HiddenField ID="hfAppur" runat="server" />
</form>
</body>
</html>