Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\My\MyMeetingUserEdit.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingUserEdit.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingUserEdit" %> <div class="flat data-box"> <div class="head"> <span class="title">????????</span>??????<span class="f_r"> <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingEdit(this.Meeting.Guid) }%> <%= new HtmlAnchor("????????") { Href= WebUrl.MyMeetingSpeakerList(this.Meeting.Guid) }%> <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingAttachmentList(this.Meeting.Guid) }%> </span> </div> <div class="userInput pwd"> <form id="frmMeetingUserEdit" action="" method="post" onsubmit="return false;"> <table border="0" cellpadding="2px" cellspacing="2px" class="table-cleaned"> <tr> <td class="label-td"><span class="label"><span class="required">*</span>?????</span></td> <td> <%= new HtmlText("FileName", this.ViewData["_MeetingUser.FileName"]) { ReadOnly = true }%> <%= new HtmlYKTip("FileName")%> <div> <%= new SingleUploadInstance(this) { UploadTag = "FileName", Accept = ".xlsx", UploadControlName="????????"}.ToHtml()%> <%-- <%= new SingleUploadInstance(this) { UploadTag = "FileName", InitParams = "FileFilter=?????????(" + CreateInstance.DomainInfoDao.THIS().UploadFileType + ")|" + CreateInstance.DomainInfoDao.THIS().UploadFileType + ",DefaultColor=#F5F5F5F5,SelectFiles=???????????,Upload=?????????" }.ToHtml()%> --%> <script type="text/javascript"> function UploadFinishedFileName(fileName, fileSize) { $("#frmMeetingUserEdit [Name=FileName]").val(fileName); $("#frmMeetingUserEdit [Name=FileSize]").val(fileSize) } </script> </div> </td> </tr> <tr> <td class="label-td"><span class="label"><span class="required">*</span>????????</span></td> <td> <%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingUserFileTypeEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_MeetingUser.FileType"])%> <%= new HtmlYKTip("FileType") %> </td> </tr> <tr> <td class="label-td"><span class="label"><span class="required">*</span>????????</span></td> <td> <%= new HtmlText("FileSize", this.ViewData["_MeetingUser.FileSize"]) { ReadOnly = true }%> <%= new HtmlYKTip("FileSize")%> </td> </tr> <tr> <td class="label-td"><span class="label">????????</span></td> <td> <%= new HtmlTextArea("Description", this.ViewData["_MeetingUser.Description"], 2000)%> </td> </tr> <tr> <td class="label-td"><span class="label"><span class="required">*</span>??????</span></td> <td> <%= new HtmlText("SortNumber", this.ViewData["_MeetingUser.SortNumber"], 4) { DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> <tr> <td class="label-td"></td> <td></td> </tr> <tr> <td class="label-td"></td> <td> <%= new HtmlHidden("Key",this.KEY)%> <%= new HtmlHidden("ParentMeeting", this.Meeting.Guid)%> <%= new HtmlSubmit(IN(this.ViewData["_MeetingUser"], "??????", "??????"), "MeetingUserEdit", "MeetingUserEditClient(this);").Style(new { Width = "100px" })%> </td> </tr> </table> </form> </div> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "MeetingUserEdit", form: "#frmMeetingUserEdit", alertMessage: true, showMessage: false }); //?????? $("#frmMeetingUserEdit [name=FileName]").formValidator({ validatorGroup: "MeetingUserEdit", rules: { required: null }, message: { required: "???????????" } }); //?????? $("#frmMeetingUserEdit [name=FileSize]").formValidator({ validatorGroup: "MeetingUserEdit", rules: { regex: "num1" }, message: { regex: "??????????????" } }); //?????? $("#frmMeetingUserEdit [name=FileType]").formValidator({ validatorGroup: "MeetingUserEdit", rules: { required: null }, message: { required: "???????????" } }); //????? $("#frmMeetingUserEdit [name=SortNumber]").formValidator({ validatorGroup: "MeetingUserEdit", rules: { required: null, regex: "num1" }, message: { required: "???????????", regex: "???????????" } }); </script> <script type="text/javascript"> function MeetingUserEditClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingUserEdit", data: Global.GetFormValue($("#frmMeetingUserEdit")), async: true, dataType: 'json', success: function (result) { $(send).val('<%= IN(this.ViewData["_MeetingUser"],"??????", "??????") %>'); flash('<%= IN(this.ViewData["_MeetingUser"],"????????????", "????????????") %>'); Global.Disabled(send, false); window.location.href = result; }, beforeSend: function () { $(send).val('<%= IN(this.ViewData["_MeetingUser"],"?????????...", "?????????...") %>'); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val('<%= IN(this.ViewData["_MeetingUser"],"??????", "??????") %>'); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de