<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Channel.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //Channel_状态 %> <% break; case "ChannelChannelName": //Channel_ChannelName_课程名称 %> <% break; case "Name": //Channel_课程名称 %> <% break; case "Depth": //Channel_深度 %> <% break; case "Description": //Channel_描述 %> <% break; case "SortNumber": //Channel_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "ChannelChannelName": %> <% break; case "Name": %> <% break; case "Depth": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("Channel_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("Channel_ChannelName_课程名称").HtmlEncode() %> <%= OrderBy("_Channel.Name") %> ',event)"> <%= Define.Get("Channel_课程名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("Channel_深度").HtmlEncode() %> <%= OrderBy("Depth") %> ',event)"> <%= Define.Get("Channel_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("Channel_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.ChannelStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentChannel.Name", item) %> <%= item.Name %> <%= item.Depth %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>