%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ClassTeacher.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "ClassTeacherClassInfoName": //ClassTeacher_ClassInfoName_班级名称 %> | ',event)"> <%= Define.Get("ClassTeacher_ClassInfoName_班级名称").HtmlEncode() %> <%= OrderBy("_ClassInfo.Name") %> | <% break; case "ClassTeacherUserDomainName": //ClassTeacher_UserDomainName_平台名称 %>',event)"> <%= Define.Get("ClassTeacher_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> | <% break; case "ClassTeacherUserDomainCode": //ClassTeacher_UserDomainCode_平台编码 %>',event)"> <%= Define.Get("ClassTeacher_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> | <% break; case "ClassTeacherUserUserTypeName": //ClassTeacher_UserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("ClassTeacher_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> | <% break; case "ClassTeacherUserTrueName": //ClassTeacher_UserTrueName_真实名称 %>',event)"> <%= Define.Get("ClassTeacher_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> | <% break; case "ClassTeacherUserUserName": //ClassTeacher_UserUserName_用户名 %>',event)"> <%= Define.Get("ClassTeacher_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> | <% break; case "SortNumber": //ClassTeacher_排序号 %>',event)"> <%= Define.Get("ClassTeacher_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "ClassTeacherClassInfoName":
%>
"> <%= ViewData.Val("ParentClassInfo.Name", item) %> | <% break; case "ClassTeacherUserDomainName": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> | <% break; case "ClassTeacherUserDomainCode": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> | <% break; case "ClassTeacherUserUserTypeName": %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> | <% break; case "ClassTeacherUserTrueName": %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> | <% break; case "ClassTeacherUserUserName": %>"> <%= ViewData.Val("ParentUser.UserName", item) %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>