%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.STAward.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "Version": //STAward_版本号# %> | <%= Define.Get("STAward_版本号").HtmlEncode() %> <%= OrderBy("Version") %> | case "Guid": //STAward_Guid# %>',event)"> <%= Define.Get("STAward_Guid").HtmlEncode() %> <%= OrderBy("Guid") %> | <% break; case "STAwardSubjectUserDomainName": //STAward_SubjectUserDomainName_平台名称 %>',event)"> <%= Define.Get("STAward_SubjectUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> | <% break; case "STAwardSubjectUserDomainCode": //STAward_SubjectUserDomainCode_平台编码 %>',event)"> <%= Define.Get("STAward_SubjectUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> | <% break; case "STAwardSubjectUserUserTypeName": //STAward_SubjectUserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("STAward_SubjectUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> | <% break; case "STAwardSubjectUserUserName": //STAward_SubjectUserUserName_用户用户名 %>',event)"> <%= Define.Get("STAward_SubjectUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> | <% break; case "STAwardSubjectUserTrueName": //STAward_SubjectUserTrueName_用户真实名称 %>',event)"> <%= Define.Get("STAward_SubjectUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> | <% break; case "STAwardSubjectName": //STAward_SubjectName_评课名称 %>',event)"> <%= Define.Get("STAward_SubjectName_评课名称").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> | <% break; case "Name": //STAward_奖项名称 %>',event)"> <%= Define.Get("STAward_奖项名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "WinNumber": //STAward_得奖人数 %>',event)"> <%= Define.Get("STAward_得奖人数").HtmlEncode() %> <%= OrderBy("WinNumber") %> | <% break; case "Description": //STAward_描述 %>',event)"> <%= Define.Get("STAward_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //STAward_排名优先级 %>',event)"> <%= Define.Get("STAward_排名优先级").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Version, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "Version":
%>
<%= item.Version %> | <% break; case "Guid": %><%= item.Guid %> | <% break; case "STAwardSubjectUserDomainName": %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item) %> | <% break; case "STAwardSubjectUserDomainCode": %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Code", item) %> | <% break; case "STAwardSubjectUserUserTypeName": %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item) %> | <% break; case "STAwardSubjectUserUserName": %>"> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> | <% break; case "STAwardSubjectUserTrueName": %>"> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> | <% break; case "STAwardSubjectName": %>"> <%= ViewData.Val("ParentSubject.Name", item) %> | <% break; case "Name": %><%= item.Name %> | <% break; case "WinNumber": %><%= item.WinNumber %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>