Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\SubjectUserApply\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SubjectUserApply.List1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1 ckb"> <%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.??????????????????.Define(), Lang = ".listContainer .trsel" }%> </th> <th class="wd2"> </th> <% foreach (var field in this.Fields) { switch (field) { case "SubjectUserApplySubjectUserDomainName": //SubjectUserApply_SubjectUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_SubjectUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> </span> </th> <% break; case "SubjectUserApplySubjectUserDomainCode": //SubjectUserApply_SubjectUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_SubjectUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> </span> </th> <% break; case "SubjectUserApplySubjectUserUserTypeName": //SubjectUserApply_SubjectUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_SubjectUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> </span> </th> <% break; case "SubjectUserApplySubjectUserUserName": //SubjectUserApply_SubjectUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_SubjectUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> </span> </th> <% break; case "SubjectUserApplySubjectUserTrueName": //SubjectUserApply_SubjectUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_SubjectUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> </span> </th> <% break; case "SubjectUserApplySubjectName": //SubjectUserApply_SubjectName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_SubjectName_?????????").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> </span> </th> <% break; case "SubjectUserApplyUserDomainName": //SubjectUserApply_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "SubjectUserApplyUserDomainCode": //SubjectUserApply_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "SubjectUserApplyUserUserTypeName": //SubjectUserApply_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "SubjectUserApplyUserTrueName": //SubjectUserApply_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "SubjectUserApplyUserUserName": //SubjectUserApply_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "ApplyStatus": //SubjectUserApply_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyStatus").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_???????").HtmlEncode() %> <%= OrderBy("ApplyStatus") %> </span> </th> <% break; case "ApplyTime": //SubjectUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyTime").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %> <%= OrderBy("ApplyTime") %> </span> </th> <% break; case "ApplyRemark": //SubjectUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyRemark").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %> <%= OrderBy("ApplyRemark") %> </span> </th> <% break; case "ConfirmSubjectUserApplyUserDomainName": //ConfirmSubjectUserApply_UserDomainName_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectUserApply_UserDomainName_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._Domain.Name") %> </span> </th> <% break; case "ConfirmSubjectUserApplyUserDomainCode": //ConfirmSubjectUserApply_UserDomainCode_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectUserApply_UserDomainCode_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._Domain.Code") %> </span> </th> <% break; case "ConfirmSubjectUserApplyUserUserTypeName": //ConfirmSubjectUserApply_UserUserTypeName_Confirm????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectUserApply_UserUserTypeName_Confirm?????????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._UserType.Name") %> </span> </th> <% break; case "ConfirmSubjectUserApplyUserTrueName": //ConfirmSubjectUserApply_UserTrueName_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectUserApply_UserTrueName_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser.TrueName") %> </span> </th> <% break; case "ConfirmSubjectUserApplyUserUserName": //ConfirmSubjectUserApply_UserUserName_Confirm????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectUserApply_UserUserName_Confirm?????").HtmlEncode() %> <%= OrderBy("_ConfirmUser.UserName") %> </span> </th> <% break; case "ConfirmTime": //SubjectUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConfirmTime").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %> <%= OrderBy("ConfirmTime") %> </span> </th> <% break; case "ConfirmRemark": //SubjectUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConfirmRemark").ToScriptTag() %>',event)"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %> <%= OrderBy("ConfirmRemark") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/SubjectUserApply/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="wd2"> <nobr><a href="edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a></nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "SubjectUserApplySubjectUserDomainName": %> <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 "SubjectUserApplySubjectUserDomainCode": %> <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 "SubjectUserApplySubjectUserUserTypeName": %> <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 "SubjectUserApplySubjectUserUserName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> </span> </td> <% break; case "SubjectUserApplySubjectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> </span> </td> <% break; case "SubjectUserApplySubjectName": %> <td> <span title="<%= ViewData.Val("ParentSubject.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.Name", item) %> </span> </td> <% break; case "SubjectUserApplyUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "SubjectUserApplyUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "SubjectUserApplyUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "SubjectUserApplyUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "SubjectUserApplyUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "ApplyStatus": %> <td> <span title="<%= (item.ApplyStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectUserApplyApplyStatusEnum)item.ApplyStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ApplyStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectUserApplyApplyStatusEnum)item.ApplyStatus).Define() : null %> </span> </td> <% break; case "ApplyTime": %> <td> <span title="<%= item.ApplyTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ApplyTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "ApplyRemark": %> <td> <%= new HtmlSpan(item.ApplyRemark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "ConfirmSubjectUserApplyUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentDomain.Name", item) %> </span> </td> <% break; case "ConfirmSubjectUserApplyUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentDomain.Code", item) %> </span> </td> <% break; case "ConfirmSubjectUserApplyUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentUserType.Name", item) %> </span> </td> <% break; case "ConfirmSubjectUserApplyUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.TrueName", item) %> </span> </td> <% break; case "ConfirmSubjectUserApplyUserUserName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.UserName", item) %> </span> </td> <% break; case "ConfirmTime": %> <td> <span title="<%= item.ConfirmTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ConfirmTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "ConfirmRemark": %> <td> <%= new HtmlSpan(item.ConfirmRemark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de