Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MySTfinallyScoreList.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySTfinallyScoreList.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySTfinallyScoreList" %> <div class="well"> <div class="p_title"> <span class="title">???????????</span>????????? <span> </span><span class="f_r"> <%= new MySubjectNavInstance(this) { Local = "???" }.ToHtml()%> </span> </div> <div class="dataControl box"> <% if (this.ListSTfinallyScore.Count == 0) { %> <span class="required"> ????????????????????? </span> <% } %> </div> <div id="MySTfinallyScoreData" class="data"> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td valign="middle" class="sel" style="width: 20px;"> <input type="checkbox" class="trselall" /> </td> <td valign="middle" class="disabled"> ??? </td> <td valign="middle"> ??? </td> <td valign="middle" class="disabled"> ??? </td> <td valign="middle" class="disabled"> ??? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% var sort = 1; for (int i = 0; i <= this.ListSTfinallyScore.Count - 1; i++) { var stfinallyScore = this.ListSTfinallyScore[i]; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListSTfinallyScore.Count - 1 ? "lastLine" : "" %>'> <td class="sel" valign="middle"> <%= new HtmlCheckBox() { Value = SetKey(stfinallyScore.Guid, stfinallyScore.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td> <%= stfinallyScore.ParentVideo.Name %> </td> <td> <%= i %> </td> <td> <%= stfinallyScore.AllScore %> </td> <td> <%= ViewData.Val("ParentSTAward.Name", stfinallyScore) %> </td> </tr> <% if (i != this.ListSTfinallyScore.Count - 1) { if (stfinallyScore.AllScore != this.ListSTfinallyScore[i + 1].AllScore) { sort += 1; } } } %> </tbody> </table> </div> <script type="text/javascript"> $("#MySTfinallyScoreData .trselall").click(function () { if (this.checked == true) { $("#MySTfinallyScoreData .trsel").attr("checked", "checked"); } else { $("#MySTfinallyScoreData .trsel").removeAttr("checked"); } }) function SelectMySTfinallyScoreAll() { var bool = $("#MySTfinallyScoreData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MySTfinallyScoreData .trsel").attr("checked", "checked"); $("#MySTfinallyScoreData .trselall").attr("checked", "checked"); } else { $("#MySTfinallyScoreData .trsel").removeAttr("checked"); $("#MySTfinallyScoreData .trselall").removeAttr("checked"); } } </script> <script type="text/javascript"> //?????? function STfinallyScoreBatchDelete(send) { var items = $("#MySTfinallyScoreData .trsel:checked"); var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("???????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.STfinallyScoreBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("???????????????") Global.Disabled(send, false); window.location.href = window.location.href; }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } } else { alert("?????????????????????"); } }; //?????? function STfinallyScoreDelete(send, pkid) { if (confirm("?????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.STfinallyScoreDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("???????????????") Global.Disabled(send, false); window.location.href = window.location.href; }, beforeSend: function () { $(send).html("?????"); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).html("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } }; </script> <div> <a onclick="SelectMySTfinallyScoreAll(); return false;" href="#">???? - ???</a> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de