⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chooserole.aspx

📁 一个工作流OA
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin/Dialog.master" AutoEventWireup="true"
	CodeBehind="ChooseRole.aspx.cs" Inherits="Agile.OA.Web.Admin.ChooseRole" StylesheetTheme="Dialog"
	Title="选择角色" %>

<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">

	<script type="text/javascript">
	$(
		function()
		{
			$("#Roles").agileTable();
			
			$("#Roles").tableHover(
				{
					rowClass: "Hover"
				});
			
			$("#Confirm").click(
				function()
				{
					window.parent.returnValue = $("#Ids").val();
					window.close();
				});
		});
	</script>

	<table class="Container">
		<tr>
			<td>
				<asp:ListView ID="Roles" runat="server" ItemPlaceholderID="ItemContainer">
					<LayoutTemplate>
						<table id="Roles" class="List">
							<thead>
								<tr>
									<th class="Choose">
										<input id="Header" type="checkbox" />
									</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("Description") %>
							</td>
						</tr>
					</ItemTemplate>
					<EmptyDataTemplate>
						<table id="Roles" class="List">
							<thead>
								<tr>
									<th class="Choose">
									</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" class="Button" value="确 定" />
			</td>
		</tr>
	</table>
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -