Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\UnitMaster\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UnitMaster.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 "Status": //UnitMaster_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("UnitMaster_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "Name": //UnitMaster_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("UnitMaster_?????????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Address": //UnitMaster_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Address").ToScriptTag() %>',event)"> <%= Define.Get("UnitMaster_?????????").HtmlEncode() %> <%= OrderBy("Address") %> </span> </th> <% break; case "Phone": //UnitMaster_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Phone").ToScriptTag() %>',event)"> <%= Define.Get("UnitMaster_??????").HtmlEncode() %> <%= OrderBy("Phone") %> </span> </th> <% break; case "SortNumber": //UnitMaster_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("UnitMaster_?????").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/UnitMaster/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Name.ToString(null).ToScriptTag() %>");"> <input type="checkbox" /> </td> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UnitMasterStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UnitMasterStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Address": %> <td> <span title="<%= item.Address.ToString(string.Empty).ToScriptTag() %>"> <%= item.Address %> </span> </td> <% break; case "Phone": %> <td> <span title="<%= item.Phone.ToString(string.Empty).ToScriptTag() %>"> <%= item.Phone %> </span> </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