<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoAttachment.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "VideoAttachmentVideoUserDomainName": //VideoAttachment_VideoUserDomainName_平台名称 %> <% break; case "VideoAttachmentVideoUserDomainCode": //VideoAttachment_VideoUserDomainCode_平台编码 %> <% break; case "VideoAttachmentVideoUserUserTypeName": //VideoAttachment_VideoUserUserTypeName_用户类型名称 %> <% break; case "VideoAttachmentVideoUserTrueName": //VideoAttachment_VideoUserTrueName_用户真实名称 %> <% break; case "VideoAttachmentVideoUserUserName": //VideoAttachment_VideoUserUserName_用户用户名 %> <% break; case "VideoAttachmentVideoName": //VideoAttachment_VideoName_视频名称 %> <% break; case "FileName": //VideoAttachment_附件名 %> <% break; case "FileType": //VideoAttachment_文件类型 %> <% break; case "FileSize": //VideoAttachment_文件大小 %> <% break; case "Description": //VideoAttachment_附件说明 %> <% break; case "SortNumber": //VideoAttachment_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "VideoAttachmentVideoUserDomainName": %> <% break; case "VideoAttachmentVideoUserDomainCode": %> <% break; case "VideoAttachmentVideoUserUserTypeName": %> <% break; case "VideoAttachmentVideoUserTrueName": %> <% break; case "VideoAttachmentVideoUserUserName": %> <% break; case "VideoAttachmentVideoName": %> <% break; case "FileName": %> <% break; case "FileType": %> <% break; case "FileSize": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("VideoAttachment_VideoUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> ',event)"> <%= Define.Get("VideoAttachment_VideoUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> ',event)"> <%= Define.Get("VideoAttachment_VideoUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> ',event)"> <%= Define.Get("VideoAttachment_VideoUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> ',event)"> <%= Define.Get("VideoAttachment_VideoUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> ',event)"> <%= Define.Get("VideoAttachment_VideoName_视频名称").HtmlEncode() %> <%= OrderBy("_Video.Name") %> ',event)"> <%= Define.Get("VideoAttachment_附件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("VideoAttachment_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> ',event)"> <%= Define.Get("VideoAttachment_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("VideoAttachment_附件说明").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("VideoAttachment_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentVideo.Name", item) %> <%= File(SettingGroup.VideoAttachmentUploadPath, item.FileName) %> <%= item.FileName %> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoAttachmentFileTypeEnum)item.FileType).Define() : null %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize) %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>