Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\SubjectApplication\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SubjectApplication.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 "SubjectApplicationSubjectUserDomainName": //SubjectApplication_SubjectUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_SubjectUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> </span> </th> <% break; case "SubjectApplicationSubjectUserDomainCode": //SubjectApplication_SubjectUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_SubjectUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> </span> </th> <% break; case "SubjectApplicationSubjectUserUserTypeName": //SubjectApplication_SubjectUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_SubjectUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> </span> </th> <% break; case "SubjectApplicationSubjectUserUserName": //SubjectApplication_SubjectUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_SubjectUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> </span> </th> <% break; case "SubjectApplicationSubjectUserTrueName": //SubjectApplication_SubjectUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_SubjectUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> </span> </th> <% break; case "SubjectApplicationSubjectName": //SubjectApplication_SubjectName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_SubjectName_?????????").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> </span> </th> <% break; case "SubjectApplicationApplicationRecordEquipmentDomainName": //SubjectApplication_ApplicationRecordEquipmentDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_ApplicationRecordEquipmentDomainName_??????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> </span> </th> <% break; case "SubjectApplicationApplicationRecordEquipmentDomainCode": //SubjectApplication_ApplicationRecordEquipmentDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_ApplicationRecordEquipmentDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> </span> </th> <% break; case "SubjectApplicationApplicationRecordEquipmentName": //SubjectApplication_ApplicationRecordEquipmentName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_ApplicationRecordEquipmentName_?????????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> </span> </th> <% break; case "SubjectApplicationApplicationTitle": //SubjectApplication_ApplicationTitle_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application.Title").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_ApplicationTitle_??????").HtmlEncode() %> <%= OrderBy("_Application.Title") %> </span> </th> <% break; case "SubmissionSubjectApplicationUserDomainName": //SubmissionSubjectApplication_UserDomainName_Submission?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectApplication_UserDomainName_Submission??????").HtmlEncode() %> <%= OrderBy("_SubmissionUser._Domain.Name") %> </span> </th> <% break; case "SubmissionSubjectApplicationUserDomainCode": //SubmissionSubjectApplication_UserDomainCode_Submission?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectApplication_UserDomainCode_Submission??????").HtmlEncode() %> <%= OrderBy("_SubmissionUser._Domain.Code") %> </span> </th> <% break; case "SubmissionSubjectApplicationUserUserTypeName": //SubmissionSubjectApplication_UserUserTypeName_Submission????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectApplication_UserUserTypeName_Submission?????????").HtmlEncode() %> <%= OrderBy("_SubmissionUser._UserType.Name") %> </span> </th> <% break; case "SubmissionSubjectApplicationUserTrueName": //SubmissionSubjectApplication_UserTrueName_Submission?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectApplication_UserTrueName_Submission??????").HtmlEncode() %> <%= OrderBy("_SubmissionUser.TrueName") %> </span> </th> <% break; case "SubmissionSubjectApplicationUserUserName": //SubmissionSubjectApplication_UserUserName_Submission????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectApplication_UserUserName_Submission?????").HtmlEncode() %> <%= OrderBy("_SubmissionUser.UserName") %> </span> </th> <% break; case "SubmissionTime": //SubjectApplication_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SubmissionTime").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %> <%= OrderBy("SubmissionTime") %> </span> </th> <% break; case "SubmissionRemark": //SubjectApplication_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SubmissionRemark").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %> <%= OrderBy("SubmissionRemark") %> </span> </th> <% break; case "ConfirmStatus": //SubjectApplication_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConfirmStatus").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_???????").HtmlEncode() %> <%= OrderBy("ConfirmStatus") %> </span> </th> <% break; case "ConfirmSubjectApplicationUserDomainName": //ConfirmSubjectApplication_UserDomainName_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectApplication_UserDomainName_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._Domain.Name") %> </span> </th> <% break; case "ConfirmSubjectApplicationUserDomainCode": //ConfirmSubjectApplication_UserDomainCode_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectApplication_UserDomainCode_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._Domain.Code") %> </span> </th> <% break; case "ConfirmSubjectApplicationUserUserTypeName": //ConfirmSubjectApplication_UserUserTypeName_Confirm????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectApplication_UserUserTypeName_Confirm?????????").HtmlEncode() %> <%= OrderBy("_ConfirmUser._UserType.Name") %> </span> </th> <% break; case "ConfirmSubjectApplicationUserTrueName": //ConfirmSubjectApplication_UserTrueName_Confirm?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectApplication_UserTrueName_Confirm??????").HtmlEncode() %> <%= OrderBy("_ConfirmUser.TrueName") %> </span> </th> <% break; case "ConfirmSubjectApplicationUserUserName": //ConfirmSubjectApplication_UserUserName_Confirm????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ConfirmUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("ConfirmSubjectApplication_UserUserName_Confirm?????").HtmlEncode() %> <%= OrderBy("_ConfirmUser.UserName") %> </span> </th> <% break; case "ConfirmTime": //SubjectApplication_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConfirmTime").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %> <%= OrderBy("ConfirmTime") %> </span> </th> <% break; case "ConfirmRemark": //SubjectApplication_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConfirmRemark").ToScriptTag() %>',event)"> <%= Define.Get("SubjectApplication_??????").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/SubjectApplication/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 "SubjectApplicationSubjectUserDomainName": %> <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 "SubjectApplicationSubjectUserDomainCode": %> <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 "SubjectApplicationSubjectUserUserTypeName": %> <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 "SubjectApplicationSubjectUserUserName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> </span> </td> <% break; case "SubjectApplicationSubjectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> </span> </td> <% break; case "SubjectApplicationSubjectName": %> <td> <span title="<%= ViewData.Val("ParentSubject.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.Name", item) %> </span> </td> <% break; case "SubjectApplicationApplicationRecordEquipmentDomainName": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item) %> </span> </td> <% break; case "SubjectApplicationApplicationRecordEquipmentDomainCode": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item) %> </span> </td> <% break; case "SubjectApplicationApplicationRecordEquipmentName": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> </span> </td> <% break; case "SubjectApplicationApplicationTitle": %> <td> <span title="<%= ViewData.Val("ParentApplication.Title", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.Title", item) %> </span> </td> <% break; case "SubmissionSubjectApplicationUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.ParentDomain.Name", item) %> </span> </td> <% break; case "SubmissionSubjectApplicationUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.ParentDomain.Code", item) %> </span> </td> <% break; case "SubmissionSubjectApplicationUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.ParentUserType.Name", item) %> </span> </td> <% break; case "SubmissionSubjectApplicationUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.TrueName", item) %> </span> </td> <% break; case "SubmissionSubjectApplicationUserUserName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.UserName", item) %> </span> </td> <% break; case "SubmissionTime": %> <td> <span title="<%= item.SubmissionTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.SubmissionTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "SubmissionRemark": %> <td> <%= new HtmlSpan(item.SubmissionRemark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "ConfirmStatus": %> <td> <span title="<%= (item.ConfirmStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectApplicationConfirmStatusEnum)item.ConfirmStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ConfirmStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectApplicationConfirmStatusEnum)item.ConfirmStatus).Define() : null %> </span> </td> <% break; case "ConfirmSubjectApplicationUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentDomain.Name", item) %> </span> </td> <% break; case "ConfirmSubjectApplicationUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentDomain.Code", item) %> </span> </td> <% break; case "ConfirmSubjectApplicationUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.ParentUserType.Name", item) %> </span> </td> <% break; case "ConfirmSubjectApplicationUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentConfirmUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentConfirmUser.TrueName", item) %> </span> </td> <% break; case "ConfirmSubjectApplicationUserUserName": %> <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