Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Lesson\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Lesson.Select1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1"> </th> <% foreach (var field in this.Fields) { switch (field) { case "LessonTextbookPressName": //Lesson_TextbookPressName_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook._Press.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookPressName_????????").HtmlEncode() %> <%= OrderBy("_Textbook._Press.Name") %> </span> </th> <% break; case "LessonTextbookGradeName": //Lesson_TextbookGradeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook._Grade.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookGradeName_??????").HtmlEncode() %> <%= OrderBy("_Textbook._Grade.Name") %> </span> </th> <% break; case "LessonTextbookCategoryName": //Lesson_TextbookCategoryName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook._Category.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookCategoryName_?????????").HtmlEncode() %> <%= OrderBy("_Textbook._Category.Name") %> </span> </th> <% break; case "LessonTextbookName": //Lesson_TextbookName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookName_??????").HtmlEncode() %> <%= OrderBy("_Textbook.Name") %> </span> </th> <% break; case "Section": //Lesson_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Section").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_????????").HtmlEncode() %> <%= OrderBy("Section") %> </span> </th> <% break; case "Name": //Lesson_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_????????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Description": //Lesson_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //Lesson_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/Lesson/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Name.ToString(null).ToScriptTag() %>","<%= item.ParentTextbook.ParentCategory.Guid.ToString(null).ToScriptTag()%>", "<%= item.ParentTextbook.ParentCategory.Name.ToString(null).ToScriptTag() %>", "<%= item.ParentTextbook.ParentGrade.Guid.ToString(null).ToScriptTag() %>", "<%= item.ParentTextbook.ParentGrade.Name.ToString(null).ToScriptTag() %>", "<%= item.ParentTextbook.ParentPress.Guid.ToString(null).ToScriptTag() %>", "<%= item.ParentTextbook.ParentPress.Name.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "LessonTextbookPressName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.ParentPress.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.ParentPress.Name", item) %> </span> </td> <% break; case "LessonTextbookGradeName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.ParentGrade.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.ParentGrade.Name", item) %> </span> </td> <% break; case "LessonTextbookCategoryName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.ParentCategory.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.ParentCategory.Name", item) %> </span> </td> <% break; case "LessonTextbookName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.Name", item) %> </span> </td> <% break; case "Section": %> <td> <span title="<%= item.Section.ToString(string.Empty).ToScriptTag() %>"> <%= item.Section %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de