%@ 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_状态 %> | ',event)"> <%= Define.Get("Channel_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "ChannelChannelName": //Channel_ChannelName_课程名称 %>',event)"> <%= Define.Get("Channel_ChannelName_课程名称").HtmlEncode() %> <%= OrderBy("_Channel.Name") %> | <% break; case "Name": //Channel_课程名称 %>',event)"> <%= Define.Get("Channel_课程名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "Depth": //Channel_深度 %>',event)"> <%= Define.Get("Channel_深度").HtmlEncode() %> <%= OrderBy("Depth") %> | <% break; case "Description": //Channel_描述 %>',event)"> <%= Define.Get("Channel_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //Channel_排序号 %>',event)"> <%= Define.Get("Channel_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "Status": %> | <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.ChannelStatusEnum)item.Status).Define() : null %> | <% break; case "ChannelChannelName": %>"> <%= ViewData.Val("ParentChannel.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; } } %>