Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\ClassInfo\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ClassInfo.Edit" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="#" onclick="GoList();return false;"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmClassInfo" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("ClassInfo_???????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_ClassInfo"], this.ViewData["_ClassInfo.ParentUser.TrueName"] + "[" + this.ViewData["_ClassInfo.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmClassInfo [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ViewData["_ClassInfo.ParentUser.Guid"])%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmClassInfo [name=ParentUser]','#frmClassInfo [name=ParentUser_TrueName_UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentUser") %> </td> </tr> <tr> <th title="<%= Define.Get("ClassInfo_???????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentGrade_Name", IN(this.ViewData["_ClassInfo"], this.ViewData["_ClassInfo.ParentGrade.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmClassInfo [name=ParentGrade]","Edit");" }%> <%= new HtmlHidden("ParentGrade", this.ViewData["_ClassInfo.ParentGrade.Guid"])%> <a href="#selectGrade" class="decoration-none" onclick="return SelectGrade('#frmClassInfo [name=ParentGrade]','#frmClassInfo [name=ParentGrade_Name]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentGrade") %> </td> </tr> <tr> <th title="<%= Define.Get("ClassInfo_???????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentCategory_Name", IN(this.ViewData["_ClassInfo"], this.ViewData["_ClassInfo.ParentCategory.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%> <%= new HtmlHidden("ParentCategory", this.ViewData["_ClassInfo.ParentCategory.Guid"])%> <a href="#selectCategory" class="decoration-none" onclick="return SelectCategoryLast('#frmClassInfo [name=ParentCategory]','#frmClassInfo [name=ParentCategory_Name]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("ClassInfo_???????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentDomain_Name_Code", IN(this.ViewData["_ClassInfo"], this.ViewData["_ClassInfo.ParentDomain.Name"] + "[" + this.ViewData["_ClassInfo.ParentDomain.Code"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmClassInfo [name=ParentDomain]","Edit");" }%> <%= new HtmlHidden("ParentDomain", this.ViewData["_ClassInfo.ParentDomain.Guid"])%> <a href="#selectDomain" class="decoration-none" onclick="return SelectDomain('#frmClassInfo [name=ParentDomain]','#frmClassInfo [name=ParentDomain_Name_Code]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentDomain") %> </td> </tr> <tr> <th title="<%= Define.Get("ClassInfo_??????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_ClassInfo.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th title="<%= Define.Get("ClassInfo_??????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_ClassInfo.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr> <th title="<%= Define.Get("ClassInfo_???").ToScriptTag() %>"> <%= Define.Get("ClassInfo_???").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_ClassInfo.Description"], 400) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("ClassInfo_?????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("ClassInfo_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_ClassInfo.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("ClassInfo_????").ToScriptTag() %>"> <%= Define.Get("ClassInfo_????")%>?? </th> <td class="tooltip" title="<%= Define.Get("ClassInfo_Status_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("Status", this.ViewData["_ClassInfo.Status"], 1, 0) { DefaultChecked = 0 }%> </td> </tr> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_ClassInfo"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_ClassInfo"])%></span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html> <%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/ClassInfoAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmClassInfo" }); //????? $("#frmClassInfo [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("ClassInfo_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("ClassInfo_SortNumber_???????????").ToScriptChar() %>" } }); //??????? $("#frmClassInfo [name=ParentGrade]").formValidator({ targetFocus: "#frmClassInfo [name=ParentGrade_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ClassInfo_GradeGuid_????????????").ToScriptChar() %>" } }); //??????? $("#frmClassInfo [name=ParentDomain]").formValidator({ targetFocus: "#frmClassInfo [name=ParentDomain_Name_Code]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ClassInfo_DomainGuid_????????????").ToScriptChar() %>" } }); //?????? $("#frmClassInfo [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ClassInfo_Name_???????????").ToScriptChar() %>" } }); //?????? $("#frmClassInfo [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("ClassInfo_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("ClassInfo_CreateTime_??????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { ClassInfoAjax.Insert($("#frmClassInfo"), send, function (json) { document.getElementById("frmClassInfo").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { ClassInfoAjax.Update($("#frmClassInfo"), send, function (json) { document.getElementById("frmClassInfo").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmClassInfo").KEY.value; ClassInfoAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de