Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\STfinallyScore\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.STfinallyScore.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 "STfinallyScoreSubjectUserDomainName": //STfinallyScore_SubjectUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_SubjectUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> </span> </th> <% break; case "STfinallyScoreSubjectUserDomainCode": //STfinallyScore_SubjectUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_SubjectUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> </span> </th> <% break; case "STfinallyScoreSubjectUserUserTypeName": //STfinallyScore_SubjectUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_SubjectUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> </span> </th> <% break; case "STfinallyScoreSubjectUserUserName": //STfinallyScore_SubjectUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_SubjectUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> </span> </th> <% break; case "STfinallyScoreSubjectUserTrueName": //STfinallyScore_SubjectUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_SubjectUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> </span> </th> <% break; case "STfinallyScoreSubjectName": //STfinallyScore_SubjectName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._Subject.Name").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_SubjectName_??????").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> </span> </th> <% break; case "STfinallyScoreVideoUserDomainName": //STfinallyScore_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "STfinallyScoreVideoUserDomainCode": //STfinallyScore_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "STfinallyScoreVideoUserUserTypeName": //STfinallyScore_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "STfinallyScoreVideoUserTrueName": //STfinallyScore_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "STfinallyScoreVideoUserUserName": //STfinallyScore_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "STfinallyScoreVideoName": //STfinallyScore_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "AllScore": //STfinallyScore_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AllScore").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_???").HtmlEncode() %> <%= OrderBy("AllScore") %> </span> </th> <% break; case "STfinallyScoreSTAwardDescription": //STfinallyScore_STAwardDescription_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_STAward._STAward.Description").ToScriptTag() %>',event)"> <%= Define.Get("STfinallyScore_STAwardDescription_???").HtmlEncode() %> <%= OrderBy("_STAward.Description") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/STfinallyScore/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.FinallyScore.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "STfinallyScoreSubjectUserDomainName": %> <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 "STfinallyScoreSubjectUserDomainCode": %> <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 "STfinallyScoreSubjectUserUserTypeName": %> <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 "STfinallyScoreSubjectUserUserName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> </span> </td> <% break; case "STfinallyScoreSubjectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> </span> </td> <% break; case "STfinallyScoreSubjectName": %> <td> <span title="<%= ViewData.Val("ParentSubject.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.Name", item) %> </span> </td> <% break; case "STfinallyScoreVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "STfinallyScoreVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "STfinallyScoreVideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "STfinallyScoreVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "STfinallyScoreVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "STfinallyScoreVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "AllScore": %> <td> <span title="<%= item.AllScore.ToString(string.Empty).ToScriptTag() %>"> <%= item.AllScore %> </span> </td> <% break; case "STfinallyScoreSTAwardDescription": %> <td> <span title="<%= ViewData.Val("ParentSTAward.Description", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSTAward.Description", item) %> </span> </td> <% break; case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.STfinallyScoreStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.STfinallyScoreStatusEnum)item.Status).Define() : null %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de