<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Grade.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //Grade_状态 %> <% break; case "GradeGradeName": //Grade_GradeName_年级名称 %> <% break; case "Name": //Grade_年级名称 %> <% break; case "Depth": //Grade_深度 %> <% break; case "Description": //Grade_描述 %> <% break; case "SortNumber": //Grade_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "GradeGradeName": %> <% break; case "Name": %> <% break; case "Depth": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("Grade_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("Grade_GradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> ',event)"> <%= Define.Get("Grade_年级名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("Grade_深度").HtmlEncode() %> <%= OrderBy("Depth") %> ',event)"> <%= Define.Get("Grade_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("Grade_排序号").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.GradeStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentGrade.Name", item) %> <%= item.Name %> <%= item.Depth %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>