%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationAttachment.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "ApplicationAttachmentApplicationRecordEquipmentDomainName": //ApplicationAttachment_ApplicationRecordEquipmentDomainName_平台名称 %> | ',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> | <% break; case "ApplicationAttachmentApplicationRecordEquipmentDomainCode": //ApplicationAttachment_ApplicationRecordEquipmentDomainCode_平台编码 %>',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> | <% break; case "ApplicationAttachmentApplicationRecordEquipmentName": //ApplicationAttachment_ApplicationRecordEquipmentName_录播设备名称 %>',event)"> <%= Define.Get("ApplicationAttachment_ApplicationRecordEquipmentName_录播设备名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> | <% break; case "ApplicationAttachmentApplicationTitle": //ApplicationAttachment_ApplicationTitle_主题 %>',event)"> <%= Define.Get("ApplicationAttachment_ApplicationTitle_主题").HtmlEncode() %> <%= OrderBy("_Application.Title") %> | <% break; case "FileName": //ApplicationAttachment_附件名 %>',event)"> <%= Define.Get("ApplicationAttachment_附件名").HtmlEncode() %> <%= OrderBy("FileName") %> | <% break; case "FileType": //ApplicationAttachment_文件类型 %>',event)"> <%= Define.Get("ApplicationAttachment_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> | <% break; case "FileSize": //ApplicationAttachment_文件大小 %>',event)"> <%= Define.Get("ApplicationAttachment_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> | <% break; case "Description": //ApplicationAttachment_附件说明 %>',event)"> <%= Define.Get("ApplicationAttachment_附件说明").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //ApplicationAttachment_排序号 %>',event)"> <%= Define.Get("ApplicationAttachment_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "ApplicationAttachmentApplicationRecordEquipmentDomainName":
%>
"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item) %> | <% break; case "ApplicationAttachmentApplicationRecordEquipmentDomainCode": %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item) %> | <% break; case "ApplicationAttachmentApplicationRecordEquipmentName": %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> | <% break; case "ApplicationAttachmentApplicationTitle": %>"> <%= ViewData.Val("ParentApplication.Title", item) %> | <% break; case "FileName": %><%= File(SettingGroup.ApplicationAttachmentUploadPath,null, item.FileName,item.FileName) %> <%= File(SettingGroup.ApplicationAttachmentUploadPath+item.ParentApplication.Guid+"/",null, item.PDFName,"PDF") %> <%= PDF2SWF(SettingGroup.ApplicationAttachmentUploadPath+item.ParentApplication.Guid+"/", item.SWFName,"SWF") %> | <% break; case "FileType": %><%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationAttachmentFileTypeEnum)item.FileType).Define() : null %> | <% break; case "FileSize": %><%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize) %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>