<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoViewRange.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "VideoViewRangeVideoUserDomainName": //VideoViewRange_VideoUserDomainName_平台名称 %> <% break; case "VideoViewRangeVideoUserDomainCode": //VideoViewRange_VideoUserDomainCode_平台编码 %> <% break; case "VideoViewRangeVideoUserUserTypeName": //VideoViewRange_VideoUserUserTypeName_用户类型名称 %> <% break; case "VideoViewRangeVideoUserTrueName": //VideoViewRange_VideoUserTrueName_用户真实名称 %> <% break; case "VideoViewRangeVideoUserUserName": //VideoViewRange_VideoUserUserName_用户用户名 %> <% break; case "VideoViewRangeVideoName": //VideoViewRange_VideoName_视频名称 %> <% break; case "PersonPageView": //VideoViewRange_个人主页浏览 %> <% break; case "SchoolPageView": //VideoViewRange_学校平台浏览 %> <% break; case "AreaPageView": //VideoViewRange_区平台浏览 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "VideoViewRangeVideoUserDomainName": %> <% break; case "VideoViewRangeVideoUserDomainCode": %> <% break; case "VideoViewRangeVideoUserUserTypeName": %> <% break; case "VideoViewRangeVideoUserTrueName": %> <% break; case "VideoViewRangeVideoUserUserName": %> <% break; case "VideoViewRangeVideoName": %> <% break; case "PersonPageView": %> <% break; case "SchoolPageView": %> <% break; case "AreaPageView": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("VideoViewRange_VideoUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType._Domain.Name") %> ',event)"> <%= Define.Get("VideoViewRange_VideoUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Video._User._UserType._Domain.Code") %> ',event)"> <%= Define.Get("VideoViewRange_VideoUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> ',event)"> <%= Define.Get("VideoViewRange_VideoUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> ',event)"> <%= Define.Get("VideoViewRange_VideoUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> ',event)"> <%= Define.Get("VideoViewRange_VideoName_视频名称").HtmlEncode() %> <%= OrderBy("_Video.Name") %> ',event)"> <%= Define.Get("VideoViewRange_个人主页浏览").HtmlEncode() %> <%= OrderBy("PersonPageView") %> ',event)"> <%= Define.Get("VideoViewRange_学校平台浏览").HtmlEncode() %> <%= OrderBy("SchoolPageView") %> ',event)"> <%= Define.Get("VideoViewRange_区平台浏览").HtmlEncode() %> <%= OrderBy("AreaPageView") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.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) %> <%= item.PersonPageView != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoViewRangePersonPageViewEnum)item.PersonPageView).Define() : null %> <%= item.SchoolPageView != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum)item.SchoolPageView).Define() : null %> <%= item.AreaPageView != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum)item.AreaPageView).Define() : null %>