Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\ApplicationAttachment\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationAttachment.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 "ApplicationAttachmentApplicationRecordEquipmentDomainName": //ApplicationAttachment_ApplicationRecordEquipmentDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentDomainName_??????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> </span> </th> <% break; case "ApplicationAttachmentApplicationRecordEquipmentDomainCode": //ApplicationAttachment_ApplicationRecordEquipmentDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> </span> </th> <% break; case "ApplicationAttachmentApplicationRecordEquipmentName": //ApplicationAttachment_ApplicationRecordEquipmentName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment.Name").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentName_?????????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> </span> </th> <% break; case "ApplicationAttachmentApplicationTitle": //ApplicationAttachment_ApplicationTitle_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application.Title").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_ApplicationTitle_???").HtmlEncode() %> <%= OrderBy("_Application.Title") %> </span> </th> <% break; case "FileName": //ApplicationAttachment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_?????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th> <% break; case "FileType": //ApplicationAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_??????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "FileSize": //ApplicationAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "Description": //ApplicationAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_??????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //ApplicationAttachment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationAttachment_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/ApplicationAttachment/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.FileName.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationAttachmentApplicationRecordEquipmentDomainName": %> <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 "ApplicationAttachmentApplicationRecordEquipmentDomainCode": %> <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 "ApplicationAttachmentApplicationRecordEquipmentName": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> </span> </td> <% break; case "ApplicationAttachmentApplicationTitle": %> <td> <span title="<%= ViewData.Val("ParentApplication.Title", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.Title", item) %> </span> </td> <% break; case "FileName": %> <td> <%= File(SettingGroup.ApplicationAttachmentUploadPath+item.ParentApplication.Guid+"/", item.FileName) %> <%= item.FileName %> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationAttachmentFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationAttachmentFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "FileSize": %> <td> <span title="<%= item.FileSize.ToString(string.Empty).ToScriptTag() %>"> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize) %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de