%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Grade.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "Status": //Grade_状态 %> | ',event)"> <%= Define.Get("Grade_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "GradeGradeName": //Grade_GradeName_年级名称 %>',event)"> <%= Define.Get("Grade_GradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> | <% break; case "Name": //Grade_年级名称 %>',event)"> <%= Define.Get("Grade_年级名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "Depth": //Grade_深度 %>',event)"> <%= Define.Get("Grade_深度").HtmlEncode() %> <%= OrderBy("Depth") %> | <% break; case "Description": //Grade_描述 %>',event)"> <%= Define.Get("Grade_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //Grade_排序号 %>',event)"> <%= Define.Get("Grade_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "Status": %> | <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.GradeStatusEnum)item.Status).Define() : null %> | <% break; case "GradeGradeName": %>"> <%= ViewData.Val("ParentGrade.Name", item) %> | <% break; case "Name": %><%= item.Name %> | <% break; case "Depth": %><%= item.Depth %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>