<%@ page language="C#" autoeventwireup="true" inherits="ims.web.selectUser, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<!DOCTYPE html>
<html id="selectUser">
<head runat="server">
    <title>选择用户</title><meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
   <asp:ScriptManager runat="server" ID="sm" EnablePageMethods="True" OnAsyncPostBackError="AsyncError" />
    <asp:UpdatePanel ID="up" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
    <ContentTemplate>
        <table 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" SkipLinkText="" 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 class="vmiddle">
                        <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 class="vbottom">
                        <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>
</body>
</html>