Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MySTAwardEdit.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySTAwardEdit.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySTAwardEdit" %> <%= new MySubjectNavInstance(this) { Local = MySubjectNavItem.?????? }.ToHtml()%> <div class="box well"> <div class="p_title"> <span class="title">????????</span>???????????? <span class="f_r"> </span> </div> <hr /> <div class="userInput pwd"> <form id="frmSTAwardEdit" action="" method="post" onsubmit="return false;"> <table border="0" cellpadding="2px" cellspacing="2px" class="myTab"> <tr> <td style="text-align: right;"><span class="label"><span class="required">*</span>????????</span></td> <td> <%= new HtmlText("Name", this.ViewData["_STAward.Name"]) { }%> <%= new HtmlYKTip("Name")%> </td> </tr> <tr> <td style="text-align: right;"><span class="label"><span class="required">*</span>????????</span></td> <td> <%= new HtmlText("WinNumber", this.ViewData["_STAward.WinNumber"]) { }%> <%= new HtmlYKTip("WinNumber")%> </td> </tr> <tr> <td style="text-align: right;"><span class="label">????????</span></td> <td> <%= new HtmlTextArea("Description", this.ViewData["_STAward.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["_STAward.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("ParentSubject", this.Subject.Guid)%> <%= new HtmlSubmit(IN(this.ViewData["_STAward"], "??????", "??????"), "STAwardEdit", "STAwardEditClient(this);").Style(new { Width = "100px" })%> </td> </tr> </table> </form> </div> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "STAwardEdit", form: "#frmSTAwardEdit", alertMessage: true, showMessage: false }); //?????? $("#frmSTAwardEdit [name=Name]").formValidator({ validatorGroup: "STAwardEdit", rules: { required: null }, message: { required: "???????????" } }); //?????? $("#frmSTAwardEdit [name=WinNumber]").formValidator({ validatorGroup: "STAwardEdit", rules: { required: null, regex: "num1" }, message: { required: "????????????", regex: "????????????" } }); //????? $("#frmSTAwardEdit [name=SortNumber]").formValidator({ validatorGroup: "STAwardEdit", rules: { required: null, regex: "num1" }, message: { required: "????????????", regex: "????????????" } }); </script> <script type="text/javascript"> function STAwardEditClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.STAwardEdit", data: Global.GetFormValue($("#frmSTAwardEdit")), async: true, dataType: 'json', success: function (result) { $(send).val('<%= IN(this.ViewData["_STAward"],"??????", "??????") %>'); alert('<%= IN(this.ViewData["_STAward"],"???????????????", "???????????????") %>'); Global.Disabled(send, false); window.location.href = result; }, beforeSend: function () { $(send).val('<%= IN(this.ViewData["_STAward"],"?????????...", "?????????...") %>'); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val('<%= IN(this.ViewData["_STAward"],"??????", "??????") %>'); 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