Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Grade\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Grade.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 "Status": //Grade_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Grade_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "GradeGradeName": //Grade_GradeName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Grade.Name").ToScriptTag() %>',event)"> <%= Define.Get("Grade_GradeName_??????").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> </span> </th> <% break; case "Name": //Grade_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Grade_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Depth": //Grade_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Depth").ToScriptTag() %>',event)"> <%= Define.Get("Grade_???").HtmlEncode() %> <%= OrderBy("Depth") %> </span> </th> <% break; case "Description": //Grade_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Grade_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //Grade_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Grade_?????").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/Grade/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Name.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.GradeStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.GradeStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "GradeGradeName": %> <td> <span title="<%= ViewData.Val("ParentGrade.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentGrade.Name", item) %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Depth": %> <td> <span title="<%= item.Depth.ToString(string.Empty).ToScriptTag() %>"> <%= item.Depth %> </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