@model EMIS.ViewModel.SystemView.AnnouncementView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "UserAnnouncementSend"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.Hidden("UserIDs")
@Html.ContextMenuBar("UserAnnouncementSend")
@Html.HiddenFor(x => x.textContent)
@Html.LabelFor(x => x.Title): @Html.TextBoxFor(x => x.Title, new { style = "width: 90%" })
@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.IsSendWX): @Html.CheckBoxFor(x => x.IsSendWXEdit, new Dictionary { { "onclick", "selectSendWX()" } })
@Html.LabelFor(x => x.Content): @Html.RichTextFor(x => x.Content, new RichTextOptions { Width = 700, Height = 520 })
}