%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Press.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "Status": //Press_状态 %> | ',event)"> <%= Define.Get("Press_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "PressPressName": //Press_PressName_出版社名称 %>',event)"> <%= Define.Get("Press_PressName_出版社名称").HtmlEncode() %> <%= OrderBy("_Press.Name") %> | <% break; case "Name": //Press_出版社名称 %>',event)"> <%= Define.Get("Press_出版社名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "Depth": //Press_深度 %>',event)"> <%= Define.Get("Press_深度").HtmlEncode() %> <%= OrderBy("Depth") %> | <% break; case "Description": //Press_描述 %>',event)"> <%= Define.Get("Press_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //Press_排序号 %>',event)"> <%= Define.Get("Press_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "Status": %> | <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PressStatusEnum)item.Status).Define() : null %> | <% break; case "PressPressName": %>"> <%= ViewData.Val("ParentPress.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; } } %>