<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.LLUserFile.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("LLUserFile_LLUserUserUserName_用户用户名").HtmlEncode() %>: <%= new HtmlText(null, this.ViewData["_LLUserFile.ParentLLUser.ParentUser.UserName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
"> <%= Define.Get("LLUserFile_听课用户").HtmlEncode() %>: <%= new HtmlText("ParentLLUser_Guid", IN(this.ViewData["_LLUserFile"], this.ViewData["_LLUserFile.ParentLLUser.Guid"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmLLUserFile [name=ParentLLUser]","Edit");" }%> <%= new HtmlHidden("ParentLLUser", this.ViewData["_LLUserFile.ParentLLUser.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentLLUser") %>
"> <%= Define.Get("LLUserFile_LLApplicationListenLessonName_听课信息表听课名称").HtmlEncode() %>: <%= new HtmlText(null, this.ViewData["_LLUserFile.ParentLLApplication.ParentListenLesson.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
"> <%= Define.Get("LLUserFile_所属直播任务").HtmlEncode() %>: <%= new HtmlText("ParentLLApplication_Guid", IN(this.ViewData["_LLUserFile"], this.ViewData["_LLUserFile.ParentLLApplication.Guid"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmLLUserFile [name=ParentLLApplication]","Edit");" }%> <%= new HtmlHidden("ParentLLApplication", this.ViewData["_LLUserFile.ParentLLApplication.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentLLApplication") %>
"> <%= Define.Get("LLUserFile_附件名称").HtmlEncode() %>: <%= new HtmlText("Name", this.ViewData["_LLUserFile.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %>
"> <%= Define.Get("LLUserFile_文件类型").HtmlEncode() %>: <%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.LLUserFileFileTypeEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_LLUserFile.FileType"])%> <%= new HtmlYKTip("FileType") %>
"> <%= Define.Get("LLUserFile_文件名").HtmlEncode() %>: <%= new HtmlText("FileName", this.ViewData["_LLUserFile.FileName"], 256) { Class = "ipt-t ipt-t-dft", Width = 400, ReadOnly = true }%>
<%= new SingleUploadInstance(this) { UploadTag = "FileName", Accept = CreateInstance.DomainInfoDao.THIS().UploadFileType.ToUpper().Replace("*","").Replace(";",","), UploadControlName="上传附件"}.ToHtml()%> <%--<%= new SingleUploadInstance(this) { UploadTag = "FileName", InitParams = "FileFilter=*.*|*.*,SelectFiles=选择上传的用户附件,Upload=确认上传文件" }.ToHtml()%>--%>
"> <%= Define.Get("LLUserFile_文件大小").HtmlEncode() %>: <%= new HtmlText("FileSize", this.ViewData["_LLUserFile.FileSize"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("FileSize") %>
"> <%= Define.Get("LLUserFile_附件说明").HtmlEncode() %>: <%= new HtmlTextArea("Description", this.ViewData["_LLUserFile.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
"> <%= Define.Get("LLUserFile_点评").HtmlEncode() %>: <%= new HtmlTextArea("Commnt", this.ViewData["_LLUserFile.Commnt"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
"> <%= Define.Get("LLUserFile_创建时间").HtmlEncode() %>: <%= new HtmlText("CreateTime", this.ViewData["_LLUserFile.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %>
"> <%= Define.Get("LLUserFile_排序号")%>: "> <%= new HtmlText("SortNumber", this.ViewData["_LLUserFile.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_LLUserFile"])) { Class = "hidden" }%>
<%= GetSubmitText(this.ViewData["_LLUserFile"])%>
<%= 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/LLUserFileAjax.js")%>