Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\RecordEquipmentReject\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipmentReject.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 "RecordEquipmentRejectRecordEquipmentDomainName": //RecordEquipmentReject_RecordEquipmentDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentDomainName_??????").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> </span> </th> <% break; case "RecordEquipmentRejectRecordEquipmentDomainCode": //RecordEquipmentReject_RecordEquipmentDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentDomainCode_??????").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> </span> </th> <% break; case "RecordEquipmentRejectRecordEquipmentName": //RecordEquipmentReject_RecordEquipmentName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentName_??????").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> </span> </th> <% break; case "RecordEquipmentRejectUserDomainName": //RecordEquipmentReject_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "RecordEquipmentRejectUserDomainCode": //RecordEquipmentReject_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "RecordEquipmentRejectUserUserTypeName": //RecordEquipmentReject_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "RecordEquipmentRejectUserTrueName": //RecordEquipmentReject_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "RecordEquipmentRejectUserUserName": //RecordEquipmentReject_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "ApplicationDate": //RecordEquipmentReject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplicationDate").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_??????").HtmlEncode() %> <%= OrderBy("ApplicationDate") %> </span> </th> <% break; case "StartTime": //RecordEquipmentReject_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_???????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //RecordEquipmentReject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "Description": //RecordEquipmentReject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentReject_??????").HtmlEncode() %> <%= OrderBy("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/RecordEquipmentReject/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentRejectRecordEquipmentDomainName": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> </span> </td> <% break; case "RecordEquipmentRejectRecordEquipmentDomainCode": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> </span> </td> <% break; case "RecordEquipmentRejectRecordEquipmentName": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> </span> </td> <% break; case "RecordEquipmentRejectUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "RecordEquipmentRejectUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "RecordEquipmentRejectUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "RecordEquipmentRejectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "RecordEquipmentRejectUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "ApplicationDate": %> <td> <span title="<%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "StartTime": %> <td> <span title="<%= item.StartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { 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