Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MyMeetingSpeakerEdit.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingSpeakerEdit.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingSpeakerEdit" %> <div class="well"> <div class="p_title"> <span class="title">????????</span>??????????? <span class="f_r"> <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingEdit(this.Meeting.Guid) }%> | <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingUserList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("????????") { Href= WebUrl.MyMeetingUserApplyList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingAttachmentList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingVideoList(this.Meeting.Guid) }%> </span> </div> <hr /> <div class="userInput pwd"> <form id="frmMeetingSpeakerEdit" action="" method="post" onsubmit="return false;"> <table border="0px" cellpadding="2px" cellspacing="2px" class="myTab"> <tr> <td style="text-align: right; width: 150px;"><span class="label"><span class="required">*</span>?????</span></td> <td> <%= new HtmlText("Name", this.ViewData["_MeetingSpeaker.Name"],32)%> <%= new HtmlYKTip("Name")%> </td> </tr> <tr> <td style="text-align: right;"><span class="label"><span class="required">*</span>?????</span></td> <td> <%= new HtmlText("Headship", this.ViewData["_MeetingSpeaker.Headship"],32)%> <%= new HtmlYKTip("Headship")%> </td> </tr> <tr> <td style="text-align: right;"><span class="label"><span class="required">*</span>?????</span></td> <td> <table border="0px"> <tr> <td> <%= new HtmlHidden("Photo", this.ViewData["_MeetingSpeaker.Photo"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlImg(SettingGroup.MeetingSpeakerPhoto(this.ViewData["_MeetingSpeaker"]), "") { ID = "imgPhoto", Width=120, Height=120, OnErrorImg=SettingGroup.DefaultImg }%> </td> </tr> <tr> <td> <input type="button" value="??????" onclick="UploadMeetingSpeakerPhoto();" style="width: auto;" /> <%= new HtmlYKTip("Photo")%> </td> </tr> <tr> <td>???.jpg??if??ng???????? </td> </tr> </table> <script type="text/javascript"> function UploadMeetingSpeakerPhoto() { UploadFile('#frmMeetingSpeakerEdit [name=Photo]', '???????????', '0', '<%= SettingGroup.MeetingSpeakerUploadPath %>', '', '240', '240'); } </script> </td> </tr> <tr> <td style="text-align: right;"><span class="label">?????</span></td> <td> <%= new HtmlTextArea("Description", this.ViewData["_MeetingSpeaker.Description"], 2000)%> </td> </tr> <tr> <td style="text-align: right;"><span class="label"><span class="required">*</span>??????</span></td> <td> <%= new HtmlText("SortNumber", this.ViewData["_MeetingSpeaker.SortNumber"], 4) { DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> <tr> <td style="text-align: right;"></td> <td></td> </tr> <tr> <td style="text-align: right;"></td> <td> <%= new HtmlHidden("Key",this.KEY)%> <%= new HtmlHidden("ParentMeeting", this.Meeting.Guid)%> <%= new HtmlSubmit(IN(this.ViewData["_MeetingSpeaker"], "????????", "????????"), "MeetingSpeakerEdit", "MeetingSpeakerEditClient(this);").Style(new { Width = "100px" })%> </td> </tr> </table> </form> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "MeetingSpeakerEdit", form: "#frmMeetingSpeakerEdit", alertMessage: true, showMessage: false }); //??? $("#frmMeetingSpeakerEdit [name=Name]").formValidator({ validatorGroup: "MeetingSpeakerEdit", rules: { required: null }, message: { required: "????????????" } }); //??? $("#frmMeetingSpeakerEdit [name=Photo]").formValidator({ validatorGroup: "MeetingSpeakerEdit", rules: { required: null }, message: { required: "????????????" } }); //??? $("#frmMeetingSpeakerEdit [name=Headship]").formValidator({ validatorGroup: "MeetingSpeakerEdit", rules: { required: null }, message: { required: "????????????" } }); //????? $("#frmMeetingSpeakerEdit [name=SortNumber]").formValidator({ validatorGroup: "MeetingSpeakerEdit", rules: { required: null, regex: "num1" }, message: { required: "???????????", regex: "???????????" } }); </script> <script type="text/javascript"> function MeetingSpeakerEditClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingSpeakerEdit", data: Global.GetFormValue($("#frmMeetingSpeakerEdit")), async: true, dataType: 'json', success: function (result) { $(send).val('<%= IN(this.ViewData["_MeetingSpeaker"],"????????", "????????") %>'); alert('<%= IN(this.ViewData["_MeetingSpeaker"],"??????????????", "??????????????") %>'); Global.Disabled(send, false); window.location.href = result; }, beforeSend: function () { $(send).val('<%= IN(this.ViewData["_MeetingSpeaker"],"???????????...", "???????????...") %>'); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val('<%= IN(this.ViewData["_MeetingSpeaker"],"????????", "????????") %>'); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de