@model EMIS.ViewModel.EducationSchedule.ScheduleAdjustmentEditView @using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.DisplayFor(x => x.EducationMissionClassName) |
@Html.DisplayFor(x => x.WeekNum) | @Html.DropdownListFor(x => x.ToWeekNum, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemList = Model.EducationMissionClassWeekNumList.Select( x => new DropdownListItem { Text = x.ToString(), Value = x } ).ToList(), SelectedValue = Model.ToWeekNum, OnSelect = "clearSelections" }) | |||
@Html.DisplayFor(x => x.WeekdayDesc) | @Html.DropdownListFor(x => x.ToWeekday, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, TextField = "Text", ValueField = "Value", ItemSourceUrl = Url.Content("~/SchoolYear/GetFutureWeekListDropdown?WeekNum=" + (Model.ToWeekNum ?? Model.WeekNum)), OnSelect = "getNotUseCoursesTime" }) | |||
@Html.DisplayFor(x => x.UserName) |
@Html.ComboGridFor(x => x.ToUserID, new ComboGridOptions
{
TextField = "Name",
ValueField = "UserID",
OnSelect = "getNotUseCoursesTime",
GridOptions = new DataGridOptions
{
Columns = new List |
|||
@Html.DisplayFor(x => x.CoursesTimeName) | @Html.DropdownListFor(x => x.ToCoursesTimeID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, OnSelect = "getNotUseClassroom", OnLoadSuccess = "commonLoadComplete" }) | |||
@Html.DisplayFor(x => x.ClassroomTypeName) | @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ClassroomType, x => x.ToClassroomTypeID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, OnSelect = "getNotUseClassroom" }) | |||
@Html.DisplayFor(x => x.ClassroomName) |
@Html.ComboGridFor(x => x.ToClassroomID, new ComboGridOptions
{
TextField = "Name",
ValueField = "ClassroomID",
GridOptions = new DataGridOptions
{
Columns = new List |