%@ 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_平台名称 %> | ',event)"> <%= Define.Get("VideoAttachment_VideoUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> | <% break; case "VideoAttachmentVideoUserDomainCode": //VideoAttachment_VideoUserDomainCode_平台编码 %>',event)"> <%= Define.Get("VideoAttachment_VideoUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> | <% break; case "VideoAttachmentVideoUserUserTypeName": //VideoAttachment_VideoUserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("VideoAttachment_VideoUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> | <% break; case "VideoAttachmentVideoUserTrueName": //VideoAttachment_VideoUserTrueName_用户真实名称 %>',event)"> <%= Define.Get("VideoAttachment_VideoUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> | <% break; case "VideoAttachmentVideoUserUserName": //VideoAttachment_VideoUserUserName_用户用户名 %>',event)"> <%= Define.Get("VideoAttachment_VideoUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> | <% break; case "VideoAttachmentVideoName": //VideoAttachment_VideoName_视频名称 %>',event)"> <%= Define.Get("VideoAttachment_VideoName_视频名称").HtmlEncode() %> <%= OrderBy("_Video.Name") %> | <% break; case "FileName": //VideoAttachment_附件名 %>',event)"> <%= Define.Get("VideoAttachment_附件名").HtmlEncode() %> <%= OrderBy("FileName") %> | <% break; case "FileType": //VideoAttachment_文件类型 %>',event)"> <%= Define.Get("VideoAttachment_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> | <% break; case "FileSize": //VideoAttachment_文件大小 %>',event)"> <%= Define.Get("VideoAttachment_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> | <% break; case "Description": //VideoAttachment_附件说明 %>',event)"> <%= Define.Get("VideoAttachment_附件说明").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //VideoAttachment_排序号 %>',event)"> <%= Define.Get("VideoAttachment_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "VideoAttachmentVideoUserDomainName": %> | "> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> | <% break; case "VideoAttachmentVideoUserDomainCode": %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> | <% break; case "VideoAttachmentVideoUserUserTypeName": %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> | <% break; case "VideoAttachmentVideoUserTrueName": %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> | <% break; case "VideoAttachmentVideoUserUserName": %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> | <% break; case "VideoAttachmentVideoName": %>"> <%= ViewData.Val("ParentVideo.Name", item) %> | <% break; case "FileName": %><%= File(SettingGroup.VideoAttachmentUploadPath, item.FileName) %> <%= item.FileName %> | <% break; case "FileType": %><%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoAttachmentFileTypeEnum)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; } } %>