<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.AlbumLevel.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //AlbumLevel_状态 %> <% break; case "Name": //AlbumLevel_专辑级别名称 %> <% break; case "SortNumber": //AlbumLevel_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "Name": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("AlbumLevel_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("AlbumLevel_专辑级别名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("AlbumLevel_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumLevelStatusEnum)item.Status).Define() : null %> <%= item.Name %> <%= item.SortNumber %>