<%@ page language="C#" autoeventwireup="true" inherits="ims.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" /><meta name="viewport" content="width=device-width,initial-scale=1">
    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
   <asp:ScriptManager runat="server" ID="sm" EnablePageMethods="True" OnAsyncPostBackError="AsyncError">
        <CompositeScript Path="js/msajax.js" ScriptMode="Release">
            <Scripts>
                <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" /><asp:ScriptReference Name="MicrosoftAjax.js" /><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" />
            </Scripts>
        </CompositeScript>
    </asp:ScriptManager>
    <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">
            <input value=">>" type="button" class="btn arrow" onclick="addSelected();" title="将选中的用户添加到右侧列表" />
            <input value="<<" type="button" class="btn arrow" onclick="removeSelected();" title="从右侧列表中移除选中用户" />
            <div class="sepline"></div>
            <input value="确定" type="button" class="btn" onclick="SelectOK();" />
            <input value="取消" type="button" class="btn" onclick="back();" />
            <input type="button" value="帮助" class="btn pconly" onclick="showHelp('selectuser');" />
        </td><td id="tdUsers" title="勾选用户，点 ≪ 按钮移除。双击全选" ondblclick="SelectAll(this, 'divUsers');">
            <div id="divUsers"></div>
        </td></tr></table>
    </ContentTemplate>
    </asp:UpdatePanel>
    <script src="js/comm.js"></script><script src="js/selectUser.js"></script>
    </form>
</body>
</html>