<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationAttachment.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationAttachmentApplicationRecordEquipmentDomainName": //ApplicationAttachment_ApplicationRecordEquipmentDomainName_平台名称 %> <% break; case "ApplicationAttachmentApplicationRecordEquipmentDomainCode": //ApplicationAttachment_ApplicationRecordEquipmentDomainCode_平台编码 %> <% break; case "ApplicationAttachmentApplicationRecordEquipmentName": //ApplicationAttachment_ApplicationRecordEquipmentName_录播设备名称 %> <% break; case "ApplicationAttachmentApplicationTitle": //ApplicationAttachment_ApplicationTitle_主题 %> <% break; case "FileName": //ApplicationAttachment_附件名 %> <% break; case "FileType": //ApplicationAttachment_文件类型 %> <% break; case "FileSize": //ApplicationAttachment_文件大小 %> <% break; case "Description": //ApplicationAttachment_附件说明 %> <% break; case "SortNumber": //ApplicationAttachment_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationAttachmentApplicationRecordEquipmentDomainName": %> <% break; case "ApplicationAttachmentApplicationRecordEquipmentDomainCode": %> <% break; case "ApplicationAttachmentApplicationRecordEquipmentName": %> <% break; case "ApplicationAttachmentApplicationTitle": %> <% break; case "FileName": %> <% break; case "FileType": %> <% break; case "FileSize": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> ',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> ',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentName_录播设备名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> ',event)"> <%= Define.Get("ApplicationAttachment_ApplicationTitle_主题").HtmlEncode() %> <%= OrderBy("_Application.Title") %> ',event)"> <%= Define.Get("ApplicationAttachment_附件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("ApplicationAttachment_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> ',event)"> <%= Define.Get("ApplicationAttachment_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("ApplicationAttachment_附件说明").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("ApplicationAttachment_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> "> <%= ViewData.Val("ParentApplication.Title", item) %> <%= File(SettingGroup.ApplicationAttachmentUploadPath+item.ParentApplication.Guid+"/", item.FileName) %> <%= item.FileName %> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationAttachmentFileTypeEnum)item.FileType).Define() : null %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize) %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>