<%@ 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_状态 %> <% break; case "PressPressName": //Press_PressName_出版社名称 %> <% break; case "Name": //Press_出版社名称 %> <% break; case "Depth": //Press_深度 %> <% break; case "Description": //Press_描述 %> <% break; case "SortNumber": //Press_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "PressPressName": %> <% break; case "Name": %> <% break; case "Depth": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("Press_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("Press_PressName_出版社名称").HtmlEncode() %> <%= OrderBy("_Press.Name") %> ',event)"> <%= Define.Get("Press_出版社名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("Press_深度").HtmlEncode() %> <%= OrderBy("Depth") %> ',event)"> <%= Define.Get("Press_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("Press_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PressStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentPress.Name", item) %> <%= item.Name %> <%= item.Depth %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>