@model EMIS.ViewModel.SystemView.AnnouncementView @using EMIS.Web.Controls; @using Bowin.Common.JSON; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("Send")
@Html.Hidden("idList") @* *@
@Html.LabelFor(x => x.Title): @Html.TextBoxFor(x => x.Title) @Html.LabelFor(x => x.AnnouncementTypeID): @Html.DropdownListFor(x => x.AnnouncementTypeID, new DropdownListOptions { ItemSourceUrl = Url.Content("~/Announcement/TypeDropdownList"), TextField = "Text", ValueField = "Value" })
@Html.LabelFor(x => x.StartTime): @Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime }) @Html.LabelFor(x => x.EndTime): @Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
@Html.LabelFor(x => x.Content): @Html.RichTextFor(x => x.Content, new RichTextOptions { Width = 700, Height = 520 })
}