*附件: |
<%= new HtmlText("FileName", this.ViewData["_SubjectAttachment.FileName"]) { 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=附件文件格式(" + CreateInstance.DomainInfoDao.THIS().UploadFileType + ")|" + CreateInstance.DomainInfoDao.THIS().UploadFileType + ",DefaultColor=#F5F5F5F5,SelectFiles=选择上传的附件,Upload=确认上传附件" }.ToHtml()%>--%>
|
*文件类型: |
<%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.SubjectAttachmentFileTypeEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_SubjectAttachment.FileType"])%>
<%= new HtmlYKTip("FileType")%>
|
*文件大小: |
<%= new HtmlText("FileSize", this.ViewData["_SubjectAttachment.FileSize"]) { ReadOnly = true }%>
<%= new HtmlYKTip("FileSize")%>
|
详细描述: |
<%= new HtmlTextArea("Description", this.ViewData["_SubjectAttachment.Description"], 2000)%>
|
*排序号: |
<%= new HtmlText("SortNumber", this.ViewData["_SubjectAttachment.SortNumber"], 4) { DefaultValue = 0 }%>
<%= new HtmlYKTip("SortNumber")%>
|
|
|
|
<%= new HtmlHidden("Key", this.KEY)%>
<%= new HtmlHidden("ParentSubject", this.Subject.Guid)%>
<%= new HtmlSubmit(IN(this.ViewData["_SubjectAttachment"], "修改附件", "添加附件"), "SubjectAttachmentEdit", "SubjectAttachmentEditClient(this);").Style(new { Width = "100px" })%>
|