<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Marking.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "MKType": //Marking_标示类型 %> <% break; case "MKTarget": //Marking_标示目标 %> <% break; case "MKGuid": //Marking_目标主键 %> <% break; case "CreateTime": //Marking_创建时间 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "MKType": %> <% break; case "MKTarget": %> <% break; case "MKGuid": %> <% break; case "CreateTime": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("Marking_标示类型").HtmlEncode() %> <%= OrderBy("MKType") %> ',event)"> <%= Define.Get("Marking_标示目标").HtmlEncode() %> <%= OrderBy("MKTarget") %> ',event)"> <%= Define.Get("Marking_目标主键").HtmlEncode() %> <%= OrderBy("MKGuid") %> ',event)"> <%= Define.Get("Marking_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> <%= item.MKType != null ? ((AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum)item.MKType).Define() : null %> <%= item.MKTarget != null ? ((AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum)item.MKTarget).Define() : null %> <%= item.MKGuid %> <%= item.CreateTime %>