@model EMIS.ViewModel.EducationManagement.EducationMissionClassView @using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "DataRange"; ComboGridOptions time = new ComboGridOptions { TextField = "time_starTime_endTime", ValueField = "CoursesTimeID", GridOptions = new DataGridOptions { Columns = new List() { //new BoundFieldColumn { FieldName="TimesSegmentName", HeaderText="时间段", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="time_starTime_endTime", HeaderText="上课时间", Align=AlignStyle.Center }, //new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/CoursesTime/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("BatchUpdate")
@Html.HiddenFor(x => x.EducationMissionClassStr)
@Html.LabelFor(x => x.CourseTimeID): @Html.ComboGridFor(x => x.CourseTimeID, time)
@Html.LabelFor(x => x.ClassroomTypeID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ClassroomType, (x => x.ClassroomTypeID))
}