<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SubjectAttachment.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "SubjectAttachmentSubjectUserDomainName": //SubjectAttachment_SubjectUserDomainName_平台名称 %> <% break; case "SubjectAttachmentSubjectUserDomainCode": //SubjectAttachment_SubjectUserDomainCode_平台编码 %> <% break; case "SubjectAttachmentSubjectUserUserTypeName": //SubjectAttachment_SubjectUserUserTypeName_用户类型名称 %> <% break; case "SubjectAttachmentSubjectUserUserName": //SubjectAttachment_SubjectUserUserName_用户用户名 %> <% break; case "SubjectAttachmentSubjectUserTrueName": //SubjectAttachment_SubjectUserTrueName_用户真实名称 %> <% break; case "SubjectAttachmentSubjectName": //SubjectAttachment_SubjectName_优课评比名称 %> <% break; case "FileName": //SubjectAttachment_附件名 %> <% break; case "FileType": //SubjectAttachment_文件类型 %> <% break; case "FileSize": //SubjectAttachment_文件大小 %> <% break; case "Description": //SubjectAttachment_附件说明 %> <% break; case "SortNumber": //SubjectAttachment_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "SubjectAttachmentSubjectUserDomainName": %> <% break; case "SubjectAttachmentSubjectUserDomainCode": %> <% break; case "SubjectAttachmentSubjectUserUserTypeName": %> <% break; case "SubjectAttachmentSubjectUserUserName": %> <% break; case "SubjectAttachmentSubjectUserTrueName": %> <% break; case "SubjectAttachmentSubjectName": %> <% break; case "FileName": %> <% break; case "FileType": %> <% break; case "FileSize": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("SubjectAttachment_SubjectUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> ',event)"> <%= Define.Get("SubjectAttachment_SubjectUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> ',event)"> <%= Define.Get("SubjectAttachment_SubjectUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> ',event)"> <%= Define.Get("SubjectAttachment_SubjectUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> ',event)"> <%= Define.Get("SubjectAttachment_SubjectUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> ',event)"> <%= Define.Get("SubjectAttachment_SubjectName_优课评比名称").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> ',event)"> <%= Define.Get("SubjectAttachment_附件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("SubjectAttachment_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> ',event)"> <%= Define.Get("SubjectAttachment_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("SubjectAttachment_附件说明").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("SubjectAttachment_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentSubject.Name", item) %> <%= File(SettingGroup.SubjectAttachmentUploadPath, item.FileName) %> <%= item.FileName %> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectAttachmentFileTypeEnum)item.FileType).Define() : null %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize) %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>