<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ClassInfo.Edit" %> <%= this.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")%>
<% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %>
<% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %>
"> <%= Define.Get("ClassInfo_所属用户").HtmlEncode() %>: <%= 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"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentUser") %>
"> <%= Define.Get("ClassInfo_所属年级").HtmlEncode() %>: <%= 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"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentGrade") %>
"> <%= Define.Get("ClassInfo_所属学科").HtmlEncode() %>: <%= 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"])%> [<%= DefineEnum.选择.Define() %>]
"> <%= Define.Get("ClassInfo_所属平台").HtmlEncode() %>: <%= 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"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentDomain") %>
"> <%= Define.Get("ClassInfo_班级名称").HtmlEncode() %>: <%= new HtmlText("Name", this.ViewData["_ClassInfo.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %>
"> <%= Define.Get("ClassInfo_创建时间").HtmlEncode() %>: <%= new HtmlText("CreateTime", this.ViewData["_ClassInfo.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %>
"> <%= Define.Get("ClassInfo_描述").HtmlEncode() %>: <%= new HtmlTextArea("Description", this.ViewData["_ClassInfo.Description"], 400) { Class = "ipt-t ipt-t-dft width400 height100"}%>
"> <%= Define.Get("ClassInfo_排序号")%>: "> <%= new HtmlText("SortNumber", this.ViewData["_ClassInfo.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
"> <%= Define.Get("ClassInfo_状态")%>: "> <%= new HtmlCheckBox("Status", this.ViewData["_ClassInfo.Status"], 1, 0) { DefaultChecked = 0 }%>
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_ClassInfo"])) { Class = "hidden" }%>
<%= GetSubmitText(this.ViewData["_ClassInfo"])%>
<%= DefineEnum.返_回.Define() %>
<%= 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")%>