Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\MeetingAttachment\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.MeetingAttachment.List1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1 ckb"> <%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.??????????????????.Define(), Lang = ".listContainer .trsel" }%> </th> <th class="wd2"> </th> <% foreach (var field in this.Fields) { switch (field) { case "MeetingAttachmentMeetingUserDomainName": //MeetingAttachment_MeetingUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Meeting._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_MeetingUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Meeting._User._Domain.Name") %> </span> </th> <% break; case "MeetingAttachmentMeetingUserDomainCode": //MeetingAttachment_MeetingUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Meeting._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_MeetingUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Meeting._User._Domain.Code") %> </span> </th> <% break; case "MeetingAttachmentMeetingUserUserTypeName": //MeetingAttachment_MeetingUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Meeting._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_MeetingUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Meeting._User._UserType.Name") %> </span> </th> <% break; case "MeetingAttachmentMeetingUserUserName": //MeetingAttachment_MeetingUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Meeting._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_MeetingUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Meeting._User.UserName") %> </span> </th> <% break; case "MeetingAttachmentMeetingUserTrueName": //MeetingAttachment_MeetingUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Meeting._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_MeetingUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Meeting._User.TrueName") %> </span> </th> <% break; case "MeetingAttachmentMeetingName": //MeetingAttachment_MeetingName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Meeting.Name").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_MeetingName_??????").HtmlEncode() %> <%= OrderBy("_Meeting.Name") %> </span> </th> <% break; case "FileName": //MeetingAttachment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_?????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th> <% break; case "FileType": //MeetingAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_??????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "FileSize": //MeetingAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "Description": //MeetingAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_??????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //MeetingAttachment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("MeetingAttachment_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/MeetingAttachment/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="wd2"> <nobr><a href="edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a></nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "MeetingAttachmentMeetingUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentMeeting.ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentMeeting.ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "MeetingAttachmentMeetingUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentMeeting.ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentMeeting.ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "MeetingAttachmentMeetingUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentMeeting.ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentMeeting.ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "MeetingAttachmentMeetingUserUserName": %> <td> <span title="<%= ViewData.Val("ParentMeeting.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentMeeting.ParentUser.UserName", item) %> </span> </td> <% break; case "MeetingAttachmentMeetingUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentMeeting.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentMeeting.ParentUser.TrueName", item) %> </span> </td> <% break; case "MeetingAttachmentMeetingName": %> <td> <span title="<%= ViewData.Val("ParentMeeting.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentMeeting.Name", item) %> </span> </td> <% break; case "FileName": %> <td> <%= File(SettingGroup.MeetingAttachmentUploadPath, item.FileName) %> <%= item.FileName %> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.MeetingAttachmentFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.MeetingAttachmentFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "FileSize": %> <td> <span title="<%= item.FileSize.ToString(string.Empty).ToScriptTag() %>"> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize) %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de