📄 chooseuser.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin/Dialog.master" AutoEventWireup="true"
CodeBehind="ChooseUser.aspx.cs" Inherits="Agile.OA.Web.Admin.ChooseUser" StylesheetTheme="Dialog"
Title="选择用户" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
$(
function()
{
$("#Users").agileTable();
$("#Users").tableHover(
{
rowClass: "Hover"
});
$("#Confirm").click(
function()
{
window.parent.returnValue = $("#Ids").val();
window.close();
});
});
</script>
<table class="Container">
<tr>
<td>
<asp:ListView ID="Users" runat="server" ItemPlaceholderID="ItemContainer">
<LayoutTemplate>
<table id="Users" class="List">
<thead>
<tr>
<th class="Choose">
<input id="Header" type="checkbox" />
</th>
<th>
名 称
</th>
<th>
昵 称
</th>
<th>
描 述
</th>
<th>
密 码
</th>
<th>
性 别
</th>
<th>
电子邮件
</th>
<th>
职 务
</th>
<th>
部 门
</th>
</tr>
</thead>
<tbody id="ItemContainer" runat="server">
</tbody>
</table>
</LayoutTemplate>
<ItemTemplate>
<tr>
<td>
<input id="Item" type="checkbox" title="<%# Eval("Id") %>" />
</td>
<td>
<%# Eval("Name") %>
</td>
<td>
<%# Eval("Nickname") %>
</td>
<td>
<%# Eval("Description") %>
</td>
<td>
<%# Eval("Password") %>
</td>
<td>
<%# Eval("Sex") %>
</td>
<td>
<%# Eval("Email") %>
</td>
<td>
<%# Eval("Duty") %>
</td>
<td>
<%# Eval("Department.Name") %>
</td>
</tr>
</ItemTemplate>
<EmptyDataTemplate>
<table id="Users" class="List">
<thead>
<tr>
<th class="Choose">
</th>
<th>
名 称
</th>
<th>
昵 称
</th>
<th>
描 述
</th>
<th>
密 码
</th>
<th>
性 别
</th>
<th>
电子邮件
</th>
<th>
职 务
</th>
<th>
部 门
</th>
</tr>
</thead>
</table>
</EmptyDataTemplate>
</asp:ListView>
<input id="Ids" type="hidden" />
</td>
</tr>
<tr>
<td>
<agile:Pager ID="Pager" runat="server" OnPageIndexChanged="Pager_PageIndexChanged" />
</td>
</tr>
<tr>
<td class="Bottom">
<input id="Confirm" type="button" value="确 定" />
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -