Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\ApplicationInstructor\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationInstructor.Select1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1"> </th> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationInstructorApplicationRecordEquipmentDomainName": //ApplicationInstructor_ApplicationRecordEquipmentDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_ApplicationRecordEquipmentDomainName_??????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> </span> </th> <% break; case "ApplicationInstructorApplicationRecordEquipmentDomainCode": //ApplicationInstructor_ApplicationRecordEquipmentDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_ApplicationRecordEquipmentDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> </span> </th> <% break; case "ApplicationInstructorApplicationRecordEquipmentName": //ApplicationInstructor_ApplicationRecordEquipmentName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment.Name").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_ApplicationRecordEquipmentName_?????????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> </span> </th> <% break; case "ApplicationInstructorApplicationTitle": //ApplicationInstructor_ApplicationTitle_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application.Title").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_ApplicationTitle_???").HtmlEncode() %> <%= OrderBy("_Application.Title") %> </span> </th> <% break; case "ApplicationInstructorUserDomainName": //ApplicationInstructor_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "ApplicationInstructorUserDomainCode": //ApplicationInstructor_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "ApplicationInstructorUserUserTypeName": //ApplicationInstructor_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "ApplicationInstructorUserTrueName": //ApplicationInstructor_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "ApplicationInstructorUserUserName": //ApplicationInstructor_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "FileName": //ApplicationInstructor_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_????????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th> <% break; case "FileType": //ApplicationInstructor_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_?????????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "DownloadStatus": //ApplicationInstructor_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DownloadStatus").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_??????????").HtmlEncode() %> <%= OrderBy("DownloadStatus") %> </span> </th> <% break; case "FileSize": //ApplicationInstructor_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "StartSecond": //ApplicationInstructor_????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartSecond").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_?????????????").HtmlEncode() %> <%= OrderBy("StartSecond") %> </span> </th> <% break; case "EndSecond": //ApplicationInstructor_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndSecond").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_????????????").HtmlEncode() %> <%= OrderBy("EndSecond") %> </span> </th> <% break; case "Title": //ApplicationInstructor_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Title").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_???").HtmlEncode() %> <%= OrderBy("Title") %> </span> </th> <% break; case "Description": //ApplicationInstructor_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "DescriptionSound": //ApplicationInstructor_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DescriptionSound").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_???").HtmlEncode() %> <%= OrderBy("DescriptionSound") %> </span> </th> <% break; case "SendStatus": //ApplicationInstructor_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SendStatus").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_???????").HtmlEncode() %> <%= OrderBy("SendStatus") %> </span> </th> <% break; case "ValidStatus": //ApplicationInstructor_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ValidStatus").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationInstructor_???????").HtmlEncode() %> <%= OrderBy("ValidStatus") %> </span> </th> <% break; case "ValidApplicationInstructorUserDomainName": //ValidApplicationInstructor_UserDomainName_Valid?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ValidUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ValidApplicationInstructor_UserDomainName_Valid??????").HtmlEncode() %> <%= OrderBy("_ValidUser._Domain.Name") %> </span> </th> <% break; case "ValidApplicationInstructorUserDomainCode": //ValidApplicationInstructor_UserDomainCode_Valid?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ValidUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ValidApplicationInstructor_UserDomainCode_Valid??????").HtmlEncode() %> <%= OrderBy("_ValidUser._Domain.Code") %> </span> </th> <% break; case "ValidApplicationInstructorUserUserTypeName": //ValidApplicationInstructor_UserUserTypeName_Valid????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ValidUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("ValidApplicationInstructor_UserUserTypeName_Valid?????????").HtmlEncode() %> <%= OrderBy("_ValidUser._UserType.Name") %> </span> </th> <% break; case "ValidApplicationInstructorUserTrueName": //ValidApplicationInstructor_UserTrueName_Valid?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ValidUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("ValidApplicationInstructor_UserTrueName_Valid??????").HtmlEncode() %> <%= OrderBy("_ValidUser.TrueName") %> </span> </th> <% break; case "ValidApplicationInstructorUserUserName": //ValidApplicationInstructor_UserUserName_Valid????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ValidUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("ValidApplicationInstructor_UserUserName_Valid?????").HtmlEncode() %> <%= OrderBy("_ValidUser.UserName") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/ApplicationInstructor/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Title.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationInstructorApplicationRecordEquipmentDomainName": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item) %> </span> </td> <% break; case "ApplicationInstructorApplicationRecordEquipmentDomainCode": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item) %> </span> </td> <% break; case "ApplicationInstructorApplicationRecordEquipmentName": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> </span> </td> <% break; case "ApplicationInstructorApplicationTitle": %> <td> <span title="<%= ViewData.Val("ParentApplication.Title", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.Title", item) %> </span> </td> <% break; case "ApplicationInstructorUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "ApplicationInstructorUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "ApplicationInstructorUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "ApplicationInstructorUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "ApplicationInstructorUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "FileName": %> <td> <%= File(SettingGroup.ApplicationInstructorUploadPath, item.FileName) %> <%= item.FileName %> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "DownloadStatus": %> <td> <span title="<%= (item.DownloadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorDownloadStatusEnum)item.DownloadStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.DownloadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorDownloadStatusEnum)item.DownloadStatus).Define() : null %> </span> </td> <% break; case "FileSize": %> <td> <span title="<%= item.FileSize.ToString(string.Empty).ToScriptTag() %>"> <%= item.FileSize %> </span> </td> <% break; case "StartSecond": %> <td> <span title="<%= item.StartSecond.ToDateTimeN().ToAutoShortDate() %>"> <%= item.StartSecond.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "EndSecond": %> <td> <span title="<%= item.EndSecond.ToDateTimeN().ToAutoShortDate() %>"> <%= item.EndSecond.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "Title": %> <td> <span title="<%= item.Title.ToString(string.Empty).ToScriptTag() %>"> <%= item.Title %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "DescriptionSound": %> <td> <span title="<%= item.DescriptionSound.ToString(string.Empty).ToScriptTag() %>"> <%= item.DescriptionSound %> </span> </td> <% break; case "SendStatus": %> <td> <span title="<%= (item.SendStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorSendStatusEnum)item.SendStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.SendStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorSendStatusEnum)item.SendStatus).Define() : null %> </span> </td> <% break; case "ValidStatus": %> <td> <span title="<%= (item.ValidStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorValidStatusEnum)item.ValidStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ValidStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorValidStatusEnum)item.ValidStatus).Define() : null %> </span> </td> <% break; case "ValidApplicationInstructorUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentValidUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentValidUser.ParentDomain.Name", item) %> </span> </td> <% break; case "ValidApplicationInstructorUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentValidUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentValidUser.ParentDomain.Code", item) %> </span> </td> <% break; case "ValidApplicationInstructorUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentValidUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentValidUser.ParentUserType.Name", item) %> </span> </td> <% break; case "ValidApplicationInstructorUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentValidUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentValidUser.TrueName", item) %> </span> </td> <% break; case "ValidApplicationInstructorUserUserName": %> <td> <span title="<%= ViewData.Val("ParentValidUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentValidUser.UserName", item) %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de