%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Lesson.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "LessonTextbookPressName": //Lesson_TextbookPressName_出版社出版社名称 %> | ',event)"> <%= Define.Get("Lesson_TextbookPressName_出版社名称").HtmlEncode() %> <%= OrderBy("_Textbook._Press.Name") %> | <% break; case "LessonTextbookGradeName": //Lesson_TextbookGradeName_年级年级名称 %>',event)"> <%= Define.Get("Lesson_TextbookGradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Textbook._Grade.Name") %> | <% break; case "LessonTextbookCategoryName": //Lesson_TextbookCategoryName_学科学科名称 %>',event)"> <%= Define.Get("Lesson_TextbookCategoryName_学科学科名称").HtmlEncode() %> <%= OrderBy("_Textbook._Category.Name") %> | <% break; case "LessonTextbookName": //Lesson_TextbookName_课本名称 %>',event)"> <%= Define.Get("Lesson_TextbookName_课本名称").HtmlEncode() %> <%= OrderBy("_Textbook.Name") %> | <% break; case "Section": //Lesson_单元课章节 %>',event)"> <%= Define.Get("Lesson_单元课章节").HtmlEncode() %> <%= OrderBy("Section") %> | <% break; case "Name": //Lesson_单元课名称 %>',event)"> <%= Define.Get("Lesson_单元课名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "Description": //Lesson_描述 %>',event)"> <%= Define.Get("Lesson_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //Lesson_排序号 %>',event)"> <%= Define.Get("Lesson_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "LessonTextbookPressName": %> | "> <%= ViewData.Val("ParentTextbook.ParentPress.Name", item) %> | <% break; case "LessonTextbookGradeName": %>"> <%= ViewData.Val("ParentTextbook.ParentGrade.Name", item) %> | <% break; case "LessonTextbookCategoryName": %>"> <%= ViewData.Val("ParentTextbook.ParentCategory.Name", item) %> | <% break; case "LessonTextbookName": %>"> <%= ViewData.Val("ParentTextbook.Name", item) %> | <% break; case "Section": %><%= item.Section %> | <% break; case "Name": %><%= item.Name %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>