%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoAttachment.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% 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; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
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,null, item.FileName,item.FileName) %> <%= File(SettingGroup.VideoAttachmentUploadPath+item.ParentVideo.Guid+"/",null, item.PDFName,"PDF") %> <%= PDF2SWF(SettingGroup.VideoAttachmentUploadPath+item.ParentVideo.Guid+"/", item.SWFName,"SWF") %> | <% 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; } } %>