<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingEdit.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingEdit" %>
我的教研:<%= string.IsNullOrEmpty(this.PrimaryKey) ? "添加教研" : "教研编辑"%> <% if (Has(this.ViewData["_Meeting"])) { %> <%= new HtmlAnchor("教研人员") { Href= WebUrl.MyMeetingUserList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("教研申请人") { Href= WebUrl.MyMeetingUserApplyList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("教研主讲人") { Href= WebUrl.MyMeetingSpeakerList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("教研附件") { Href= WebUrl.MyMeetingAttachmentList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("教研视频") { Href= WebUrl.MyMeetingVideoList(this.Meeting.Guid) }%> <% } %>

*教研服务器: <%= 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 " }%> <%= new HtmlImg(SettingGroup.MeetingCover(this.ViewData["_Meeting"]), "") { ID = "imgCover", Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg }%>
<%= new HtmlYKTip("Cover")%>
支持.jpg、gif、png格式的图片
海报图:
<%= new HtmlHidden("Ad", this.ViewData["_Meeting.Ad"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlImg(SettingGroup.MeetingAd(this.ViewData["_Meeting"]), "") { ID = "imgAd", Width=400, Height=300, OnErrorImg= SettingGroup.DefaultMaxImg }%>
<%= new HtmlYKTip("Ad")%>
支持.jpg、gif、png格式的图片
主持人名称: <%= new HtmlText("Compere", this.ViewData["_Meeting.Compere"], 255) { }%>
*教研密码: <%= new HtmlText("Password", this.ViewData["_Meeting.Password"], 255) { DefaultValue = "123456" }%> <%= new HtmlYKTip("Password") %>
*主席密码: <%= new HtmlText("MasterPwd", this.ViewData["_Meeting.MasterPwd"], 255) { DefaultValue = "123456" }%> <%= new HtmlYKTip("MasterPwd")%>
*开始时间: <%= new HtmlText("BeginTime", this.ViewData["_Meeting.BeginTime"], 255) { }%> <%= new HtmlYKTip("BeginTime")%>
*结束时间: <%= new HtmlText("EndTime", this.ViewData["_Meeting.EndTime"], 255) { }%> <%= new HtmlYKTip("EndTime")%>
*截止申请时间: <%= new HtmlText("CutoffTime", this.ViewData["_Meeting.CutoffTime"], 255) { }%> <%= new HtmlYKTip("CutoffTime")%>
*最大人员: <%= new HtmlText("PersonCount", this.ViewData["_Meeting.PersonCount"], 4) { }%> <%= new HtmlYKTip("PersonCount")%>
匿名登录: <%--<%= new HtmlCheckBox("GuestEnable", this.ViewData["_Meeting.GuestEnable"], 1, 0) { Class = ""}%>--%> <%= new HtmlCheckBox("GuestEnable", false, 1, 0) { Class = ""}%>
公开上传: <%= new HtmlCheckBox("ShareUpload", this.ViewData["_Meeting.ShareUpload"], 1, 0) { Class = "" }%>
*观看权限: <%= new HtmlRadio("Share", (this.ViewData["_Meeting.Share"].ToInt(0) == 0 ? true : false), 0, null) { ID = "Meeting_Share_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("Share", (this.ViewData["_Meeting.Share"].ToInt(0) == 2 || this.ViewData["_Meeting.Share"] == null ? true : false), 2, null) { ID = "Meeting_Share_2" }.Style(new { Width = "auto" })%> <%= new HtmlYKTip("Share") %>
详细描述: <%= new HtmlTextArea("Description", this.ViewData["_Meeting.Description"], 2000)%>
*排序号: <%= new HtmlText("SortNumber", this.ViewData["_Meeting.SortNumber"], 4) { DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
标签用空格(" ")分开: <%= new HtmlText("MeetingTag", this.MeetingTag, 256) { }%>
所属课程:
    <% foreach (var channel in this.ListAllChannel) { string parentChannelGuid = ""; if (channel.ParentChannel != null) { parentChannelGuid = channel.ParentChannel.Guid; %>
  • <%= new HtmlCheckBox("Channel", this.SelectChannel.Contains(channel.Guid), channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelItem ChannelItemChannel" + parentChannelGuid, Lang = channel.ParentChannel.Guid }.Style(new { Width = "auto" })%> <%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
  • <% } else { %>
  • <%= new HtmlCheckBox("Channel", this.SelectChannel.Contains(channel.Guid), channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelMaster ChannelMaster" + channel.Guid }.Style(new { Width = "auto" })%> <%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
  • <% } } %>
所属学科:
    <% foreach (var category in this.ListAllCategory) { string parentCategoryGuid = ""; if (category.ParentCategory != null) { parentCategoryGuid = category.ParentCategory.Guid; %>
  • <%= new HtmlCheckBox("Category", this.SelectCategory.Contains(category.Guid), category.Guid, "") { ID = "Category" + category.Guid, Class = "CategoryItem CategoryItemCategory" + parentCategoryGuid, Lang = category.ParentCategory.Guid }.Style(new { Width = "auto" })%> <%= new HtmlLabel("Category" + category.Guid, category.Name)%>
  • <% } else { %>
  • <%= new HtmlCheckBox("Category", this.SelectCategory.Contains(category.Guid), category.Guid, "") { ID = "Category" + category.Guid, Class = "CategoryMaster CategoryMaster" + category.Guid }.Style(new { Width = "auto" })%> <%= new HtmlLabel("Category" + category.Guid, category.Name)%>
  • <% } } %>
<%= 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" })%>