Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyMeetingSpeaker.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingSpeaker.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingSpeaker" %> <%= new MyMeetingNavInstance(this) { Local = MyMeetingNavItem.????? }.ToHtml()%> <div class="box well"> <div class="p_title"> <span class="title">????????</span>???????? <span> <%= this.Meeting._ListMeetingSpeaker.Count %>?????? </span> </div> <div class="dataControl box"> <%= new HtmlButton("???...", "window.location.href='" + WebUrl.MyMeetingSpeakerAdd(this.Meeting.Guid) + "';")%> <%= new HtmlButton("???", "MeetingSpeakerBatchDelete(this);")%> </div> <div id="MyMeetingSpeakerData" 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">????? </td> <td valign="middle" class="disabled">??? </td> <td valign="middle" class="disabled">??? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListMeetingSpeaker.Count - 1; i++) { var meetingSpeaker = this.ListMeetingSpeaker[i]; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListMeetingSpeaker.Count - 1 ? "lastLine" : "" %>'> <td class="sel"> <%= new HtmlCheckBox() { Value = SetKey(meetingSpeaker.Guid, meetingSpeaker.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="v"> <%= meetingSpeaker.Name %> </td> <td> <%= meetingSpeaker.Headship %> </td> <td class="action"> <%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingSpeakerEdit(meetingSpeaker.Guid) }%> | <a href="#delete" onclick="MeetingSpeakerDelete(this,'<%= SetKey(meetingSpeaker.Guid, meetingSpeaker.Version) %>'); return false;">???</a></td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MyMeetingSpeakerData .trselall").click(function () { if (this.checked == true) { $("#MyMeetingSpeakerData .trsel").attr("checked", "checked"); } else { $("#MyMeetingSpeakerData .trsel").removeAttr("checked"); } }) function SelectMyMeetingSpeakerAll() { var bool = $("#MyMeetingSpeakerData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MyMeetingSpeakerData .trsel").attr("checked", "checked"); $("#MyMeetingSpeakerData .trselall").attr("checked", "checked"); } else { $("#MyMeetingSpeakerData .trsel").removeAttr("checked"); $("#MyMeetingSpeakerData .trselall").removeAttr("checked"); } } </script> <script type="text/javascript"> //?????? function MeetingSpeakerBatchDelete(send) { var items = $("#MyMeetingSpeakerData .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.MeetingSpeakerBatchDelete", 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 MeetingSpeakerDelete(send, pkid) { if (confirm("????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingSpeakerDelete", 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="SelectMyMeetingSpeakerAll(); return false;" href="#">???? - ???</a> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de