Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\PublicClassUserApply\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PublicClassUserApply.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 "PublicClassUserApplyPublicClassUserTrueName": //PublicClassUserApply_PublicClassUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_PublicClass._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_PublicClassUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_PublicClass._User.TrueName") %> </span> </th> <% break; case "PublicClassUserApplyPublicClassName": //PublicClassUserApply_PublicClassName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_PublicClass.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_PublicClassName_??????").HtmlEncode() %> <%= OrderBy("_PublicClass.Name") %> </span> </th> <% break; case "PublicClassUserApplyUserDomainName": //PublicClassUserApply_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._UserType._Domain.Name") %> </span> </th> <% break; case "PublicClassUserApplyUserDomainCode": //PublicClassUserApply_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._UserType._Domain.Code") %> </span> </th> <% break; case "PublicClassUserApplyUserUserTypeName": //PublicClassUserApply_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "PublicClassUserApplyUserTrueName": //PublicClassUserApply_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "PublicClassUserApplyUserUserName": //PublicClassUserApply_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "ApplyStatus": //PublicClassUserApply_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyStatus").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_???????").HtmlEncode() %> <%= OrderBy("ApplyStatus") %> </span> </th> <% break; case "ApplyTime": //PublicClassUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyTime").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_??????").HtmlEncode() %> <%= OrderBy("ApplyTime") %> </span> </th> <% break; case "ApplyRemark": //PublicClassUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyRemark").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_??????").HtmlEncode() %> <%= OrderBy("ApplyRemark") %> </span> </th> <% break; case "ConfirmPublicClassUserApplyUserDomainName": //ConfirmPublicClassUserApply_UserDomainName_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._UserType._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmPublicClassUserApply_UserDomainName_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._UserType._Domain.Name") %> </span> </th> <% break; case "ConfirmPublicClassUserApplyUserDomainCode": //ConfirmPublicClassUserApply_UserDomainCode_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._UserType._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmPublicClassUserApply_UserDomainCode_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._UserType._Domain.Code") %> </span> </th> <% break; case "ConfirmPublicClassUserApplyUserUserTypeName": //ConfirmPublicClassUserApply_UserUserTypeName_Confirm????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmPublicClassUserApply_UserUserTypeName_Confirm?????????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._UserType.Name") %> </span> </th> <% break; case "ConfirmPublicClassUserApplyUserTrueName": //ConfirmPublicClassUserApply_UserTrueName_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmPublicClassUserApply_UserTrueName_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser.TrueName") %> </span> </th> <% break; case "ConfirmPublicClassUserApplyUserUserName": //ConfirmPublicClassUserApply_UserUserName_Confirm????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmPublicClassUserApply_UserUserName_Confirm?????").HtmlEncode() %> <%= OrderBy("_ConfirmUser.UserName") %> </span> </th> <% break; case "ConfirmTime": //PublicClassUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConfirmTime").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_??????").HtmlEncode() %> <%= OrderBy("ConfirmTime") %> </span> </th> <% break; case "ConfirmRemark": //PublicClassUserApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConfirmRemark").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassUserApply_??????").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/PublicClassUserApply/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 "PublicClassUserApplyPublicClassUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentPublicClass.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPublicClass.ParentUser.TrueName", item) %> </span> </td> <% break; case "PublicClassUserApplyPublicClassName": %> <td> <span title="<%= ViewData.Val("ParentPublicClass.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPublicClass.Name", item) %> </span> </td> <% break; case "PublicClassUserApplyUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Name", item) %> </span> </td> <% break; case "PublicClassUserApplyUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Code", item) %> </span> </td> <% break; case "PublicClassUserApplyUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "PublicClassUserApplyUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "PublicClassUserApplyUserUserName": %> <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.PublicClassUserApplyApplyStatusEnum)item.ApplyStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ApplyStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassUserApplyApplyStatusEnum)item.ApplyStatus).Define() : null %> </span> </td> <% break; case "ApplyTime": %> <td> <span title="<%= item.ApplyTime.ToDateTimeN().ToTime() %>"> <%= item.ApplyTime.ToDateTimeN().ToTime() %> </span> </td> <% break; case "ApplyRemark": %> <td> <%= new HtmlSpan(item.ApplyRemark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "ConfirmPublicClassUserApplyUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentUserType.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentUserType.ParentDomain.Name", item) %> </span> </td> <% break; case "ConfirmPublicClassUserApplyUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentUserType.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentUserType.ParentDomain.Code", item) %> </span> </td> <% break; case "ConfirmPublicClassUserApplyUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentUserType.Name", item) %> </span> </td> <% break; case "ConfirmPublicClassUserApplyUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.TrueName", item) %> </span> </td> <% break; case "ConfirmPublicClassUserApplyUserUserName": %> <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().ToTime() %>"> <%= item.ConfirmTime.ToDateTimeN().ToTime() %> </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