%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.LLScoreItem.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "LLScoreItemListenLessonName": //LLScoreItem_ListenLessonName_听课名称 %> | ',event)"> <%= Define.Get("LLScoreItem_ListenLessonName_听课名称").HtmlEncode() %> <%= OrderBy("_ListenLesson.Name") %> | <% break; case "LLScoreItemSTScoreTypeName": //LLScoreItem_STScoreTypeName_类型名称 %>',event)"> <%= Define.Get("LLScoreItem_STScoreTypeName_类型名称").HtmlEncode() %> <%= OrderBy("_STScoreType.Name") %> | <% break; case "Name": //LLScoreItem_评分项 %>',event)"> <%= Define.Get("LLScoreItem_评分项").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "Description": //LLScoreItem_描述 %>',event)"> <%= Define.Get("LLScoreItem_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "ScoreRatio": //LLScoreItem_评分比例 %>',event)"> <%= Define.Get("LLScoreItem_评分比例").HtmlEncode() %> <%= OrderBy("ScoreRatio") %> | <% break; case "CreateTime": //LLScoreItem_创建时间 %>',event)"> <%= Define.Get("LLScoreItem_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> | <% break; case "SortNumber": //LLScoreItem_排序号 %>',event)"> <%= Define.Get("LLScoreItem_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "LLScoreItemListenLessonName":
%>
"> <%= ViewData.Val("ParentListenLesson.Name", item) %> | <% break; case "LLScoreItemSTScoreTypeName": %>"> <%= ViewData.Val("ParentSTScoreType.Name", item) %> | <% break; case "Name": %><%= item.Name %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "ScoreRatio": %><%= item.ScoreRatio %> | <% break; case "CreateTime": %><%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>