Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\STScoreItem\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.STScoreItem.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 "STScoreItemSubjectUserDomainName": //STScoreItem_SubjectUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_SubjectUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> </span> </th> <% break; case "STScoreItemSubjectUserDomainCode": //STScoreItem_SubjectUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_SubjectUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> </span> </th> <% break; case "STScoreItemSubjectUserUserTypeName": //STScoreItem_SubjectUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_SubjectUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> </span> </th> <% break; case "STScoreItemSubjectUserUserName": //STScoreItem_SubjectUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_SubjectUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> </span> </th> <% break; case "STScoreItemSubjectUserTrueName": //STScoreItem_SubjectUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_SubjectUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> </span> </th> <% break; case "STScoreItemSubjectName": //STScoreItem_SubjectName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject.Name").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_SubjectName_??????").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> </span> </th> <% break; case "STScoreItemSTScoreTypeName": //STScoreItem_STScoreTypeName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_STScoreType._STScoreType.Name").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_STScoreTypeName_??????").HtmlEncode() %> <%= OrderBy("_STScoreType.Name") %> </span> </th> <% break; case "Name": //STScoreItem_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_?????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Description": //STScoreItem_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "ScoreRatio": //STScoreItem_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ScoreRatio").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_??????").HtmlEncode() %> <%= OrderBy("ScoreRatio") %> </span> </th> <% break; case "SortNumber": //STScoreItem_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("STScoreItem_?????").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/STScoreItem/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 "STScoreItemSubjectUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "STScoreItemSubjectUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "STScoreItemSubjectUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "STScoreItemSubjectUserUserName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> </span> </td> <% break; case "STScoreItemSubjectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> </span> </td> <% break; case "STScoreItemSubjectName": %> <td> <span title="<%= ViewData.Val("ParentSubject.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.Name", item) %> </span> </td> <% break; case "STScoreItemSTScoreTypeName": %> <td> <span title="<%= ViewData.Val("ParentSTScoreType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSTScoreType.Name", item) %> </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 "ScoreRatio": %> <td> <span title="<%= item.ScoreRatio.ToString(string.Empty).ToScriptTag() %>"> <%= item.ScoreRatio %> </span> </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