?? chooseuser.aspx
字號(hào):
?<%@ 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>
職 務(wù)
</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>
職 務(wù)
</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>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -