Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\My\MySTGroupAdd.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySTGroupAdd.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySTGroupAdd" %> <%= new MySubjectNavInstance(this) { Local = MySubjectNavItem.????????? }.ToHtml()%> <div class="flat data-box"> <div class="head"> <span class="title">?????????</span> <span class="f_r"> </span> </div> <div class="userInput body"> <form id="frmSTGroupAdd" 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("Name",null,256) { }%> <%= new HtmlYKTip("Name")%> </td> </tr> <tr> <td class="label-td"><span class="label">????????</span></td> <td> <%= new HtmlTextArea("Description", null, 2000)%> </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("ParentSubject", this.Subject.Guid)%> <%= new HtmlSubmit("??????", "STGroupAdd", "STGroupAddClient(this);").Style(new { Width = "100px" })%> </td> </tr> </table> </form> </div> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "STGroupAdd", form: "#frmSTGroupAdd", alertMessage: true, showMessage: false }); //?????? $("#frmSTGroupAdd [name=Name]").formValidator({ validatorGroup: "STGroupAdd", rules: { required: null }, message: { required: "???????????" } }); </script> <script type="text/javascript"> function STGroupAddClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.STGroupAdd", data: Global.GetFormValue($("#frmSTGroupAdd")), async: true, dataType: 'json', success: function (result) { $(send).val("??????"); flash("?????????"); Global.Disabled(send, false); window.location.href = result; }, 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); } }); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de