<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditIFrame.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoAttachment.EditIFrame" %> <%= this.Title %> <%= Import.Theme() %> <%= Import.Script("/jquery.1.9.js")%>

<%= Title %>

<%--[<%= DefineEnum.返回.Define() %>]--%>
"> <%= Define.Get("VideoAttachment_所属视频").HtmlEncode() %>: <%= new HtmlText("ParentVideo_Name", IN(this.Video, this.Video.Name)) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideoSpeaker [name=ParentVideo]","Edit");" }%> <%= new HtmlHidden("ParentVideo", IN(this.Video, this.Video.Guid))%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentVideo") %>
"> <%= Define.Get("VideoAttachment_附件名").HtmlEncode() %>: <%--<%= new HtmlText("FileName", this.ViewData["_VideoAttachment.FileName"]) { ReadOnly = true, Class = "ipt-t ipt-t-dft " }%> ','1','<%= SettingGroup.VideoAttachmentUploadPath %><%= this.Video.Guid %>/','NONE','0','0','#frmVideoAttachment [name=FileSize]')">[<%= DefineEnum.文件上传.Define() %>] <%= new HtmlYKTip("FileName") %>--%> <%= new HtmlText("FileName", this.ViewData["_VideoAttachment.FileName"], 256) { Class = "ipt-t ipt-t-dft", Width = 400, ReadOnly = true }%> <%= new HtmlYKTip("FileName") %>
<%= 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("VideoAttachment_文件类型").HtmlEncode() %>: <%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoAttachmentFileTypeEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_VideoAttachment.FileType"])%> <%= new HtmlYKTip("FileType") %>
"> <%= Define.Get("VideoAttachment_文件大小").HtmlEncode() %>: <%= new HtmlText("FileSize", this.ViewData["_VideoAttachment.FileSize"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> <%= new HtmlYKTip("FileSize") %>
"> <%= Define.Get("VideoAttachment_附件说明").HtmlEncode() %>: <%= new HtmlTextArea("Description", this.ViewData["_VideoAttachment.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
"> <%= Define.Get("VideoAttachment_排序号")%>: "> <%= new HtmlText("SortNumber", this.ViewData["_VideoAttachment.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_VideoAttachment"])) { Class = "hidden" }%>
<%= GetSubmitText(this.ViewData["_VideoAttachment"])%>
<%= 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/VideoAttachmentAjax.js")%>