%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoTimeInfo.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "VideoTimeInfoVideoUserDomainName": //VideoTimeInfo_VideoUserDomainName_平台名称 %> | ',event)"> <%= Define.Get("VideoTimeInfo_VideoUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> | <% break; case "VideoTimeInfoVideoUserDomainCode": //VideoTimeInfo_VideoUserDomainCode_平台编码 %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> | <% break; case "VideoTimeInfoVideoUserUserTypeName": //VideoTimeInfo_VideoUserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> | <% break; case "VideoTimeInfoVideoUserTrueName": //VideoTimeInfo_VideoUserTrueName_用户真实名称 %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> | <% break; case "VideoTimeInfoVideoUserUserName": //VideoTimeInfo_VideoUserUserName_用户用户名 %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> | <% break; case "VideoTimeInfoVideoName": //VideoTimeInfo_VideoName_视频名称 %>',event)"> <%= Define.Get("VideoTimeInfo_VideoName_视频名称").HtmlEncode() %> <%= OrderBy("_Video.Name") %> | <% break; case "Seconds": //VideoTimeInfo_经过秒数 %>',event)"> <%= Define.Get("VideoTimeInfo_经过秒数").HtmlEncode() %> <%= OrderBy("Seconds") %> | <% break; case "SecondsEnd": //VideoTimeInfo_结束秒数 %>',event)"> <%= Define.Get("VideoTimeInfo_结束秒数").HtmlEncode() %> <%= OrderBy("SecondsEnd") %> | <% break; case "Description": //VideoTimeInfo_知识点说明 %>',event)"> <%= Define.Get("VideoTimeInfo_知识点说明").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "Media": //VideoTimeInfo_媒体文件 %>',event)"> <%= Define.Get("VideoTimeInfo_媒体文件").HtmlEncode() %> <%= OrderBy("Media") %> | <% break; case "Cover": //VideoTimeInfo_知识点封面 %>',event)"> <%= Define.Get("VideoTimeInfo_知识点封面").HtmlEncode() %> <%= OrderBy("Cover") %> | <% break; case "SortNumber": //VideoTimeInfo_排序号 %>',event)"> <%= Define.Get("VideoTimeInfo_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "VideoTimeInfoVideoUserDomainName": %> | "> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> | <% break; case "VideoTimeInfoVideoUserDomainCode": %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> | <% break; case "VideoTimeInfoVideoUserUserTypeName": %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> | <% break; case "VideoTimeInfoVideoUserTrueName": %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> | <% break; case "VideoTimeInfoVideoUserUserName": %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> | <% break; case "VideoTimeInfoVideoName": %>"> <%= ViewData.Val("ParentVideo.Name", item) %> | <% break; case "Seconds": %><%= item.Seconds %> | <% break; case "SecondsEnd": %><%= item.SecondsEnd %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "Media": %><%= File(SettingGroup.VideoTimeInfoUploadPath, item.Media) %> <%= item.Media %> | <% break; case "Cover": %><%= IMG(SettingGroup.VideoTimeInfoUploadPath, item.Cover) %> <%= item.Cover %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>