<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingEdit.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingEdit" %> <% if (Has(this.ViewData["_Meeting"])) { %> <%= new MyMeetingNavInstance(this) { Local = MyMeetingNavItem.基本信息 }.ToHtml()%> <% } else { %> <%= new MyMeetingNavTopInstance(this) { Local = MyMeetingNavTopItem.创建教研 }.ToHtml()%> <%} %>
我的教研:<%= string.IsNullOrEmpty(this.PrimaryKey) ? "添加教研" : "教研编辑"%>

*教研服务器: <%= new HtmlSelect("ParentMeetingServer", "ServerName", "Guid", "Guid") { Option = this.ListMeetingServer, DefaultSelectValue = "", SelectedValue = this.ViewData["_Meeting.ParentMeetingServer.Guid"] }.InsertOption("::选择::", "", 0)%> <%= new HtmlYKTip("ParentMeetingServer")%>
*标题: <%= new HtmlText("Name", this.ViewData["_Meeting.Name"], 256) { }%> <%= new HtmlYKTip("Name")%>
*级别: <%= new HtmlSelect("ParentMeetingLevel", "Name", "Guid", "Guid") {Option=this._ListMeetingLevel, DefaultSelectValue=this.ViewData["_Meeting.ParentMeetingLevel.Guid"] }.InsertOption("::选择::","",0)%> <%= new HtmlYKTip("ParentMeetingLevel")%>
教研封面:
<%= new HtmlHidden("Cover", this.ViewData["_Meeting.Cover"]) { Class = "ipt-t ipt-t-dft " }%> <% if (string.IsNullOrEmpty(SettingGroup.MeetingCover(this.ViewData["_Meeting"]))) { %> <%= new HtmlImg(SettingGroup.DefaultImg, "") { ID = "imgCover", Width=140, Height=88 }%> <% } else { %> <%= new HtmlImg(SettingGroup.MeetingCover(this.ViewData["_Meeting"]), "") { ID = "imgCover", Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg }%> <% } %>
<%= new HtmlYKTip("Cover")%>
支持.jpg、gif、png格式的图片
教研类型: <%= new HtmlRadio("MeetingType", (this.ViewData["_Meeting.MeetingType"].ToInt(0) == 0 || this.ViewData["_Meeting.MeetingType"] == null ? true : false), 0, null) { ID = "Meeting_MeetingType_0" }.Style(new { Width = "auto" })%> <%--<%= new HtmlRadio("Share", (this.ViewData["_Meeting.Share"].ToInt(0) == 1 ? true : false), 1, null) { ID = "Meeting_Share_1" }.Style(new { Width = "auto" })%> --%> <%= new HtmlRadio("MeetingType", (this.ViewData["_Meeting.MeetingType"].ToInt(0) == 1 ? true : false), 1, null) { ID = "Meeting_MeetingType_1" }.Style(new { Width = "auto" })%> <%= new HtmlYKTip("MeetingType") %>
主持人名称: <%= new HtmlText("Compere", this.ViewData["_Meeting.Compere"], 255) { }%>
*开始时间: <%= new HtmlText("BeginTime", this.ViewData["_Meeting.BeginTime"].ToDateTimeN().ToShortDate(), 255) { }%> <%= new HtmlYKTip("BeginTime")%>
*结束时间: <%= new HtmlText("EndTime", this.ViewData["_Meeting.EndTime"].ToDateTimeN().ToShortDate(), 255) { }%> <%= new HtmlYKTip("EndTime")%>
*截止申请时间: <%= new HtmlText("CutoffTime", this.ViewData["_Meeting.CutoffTime"].ToDateTimeN().ToShortDate(), 255) { }%> <%= new HtmlYKTip("CutoffTime")%>
*最大人员: <%= new HtmlText("PersonCount", this.ViewData["_Meeting.PersonCount"], 4) { }%> <%= new HtmlYKTip("PersonCount")%>
详细描述: <%= new HtmlTextArea("Description", this.ViewData["_Meeting.Description"], 2000)%>
排序号: <%= new HtmlText("SortNumber", this.ViewData["_Meeting.SortNumber"], 4) { DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
海报图:
<%= new HtmlHidden("Ad", this.ViewData["_Meeting.Ad"]) { Class = "ipt-t ipt-t-dft " }%> <%if (string.IsNullOrEmpty(SettingGroup.MeetingAd(this.ViewData["_Meeting"]))) { %> <%= new HtmlImg(SettingGroup.DefaultMaxImg, "") { ID = "imgAd", Width=400, Height=300 }%> <% } else { %> <%= new HtmlImg(SettingGroup.MeetingAd(this.ViewData["_Meeting"]), "") { ID = "imgAd", Width=400, Height=300, OnErrorImg= SettingGroup.DefaultMaxImg }%> <% } %>
<%= new HtmlYKTip("Ad")%>
支持.jpg、gif、png格式的图片
<%= new HtmlHidden("Key", SetKey(this.ViewData["_Meeting.Guid"], this.ViewData["_Meeting.Version"]))%> <%= new HtmlSubmit(string.IsNullOrEmpty(this.PrimaryKey) ? "添加教研" : "修改教研信息", "MeetingEdit", "MeetingEditClient(this);").Style(new { Width = "100px" })%>