@model EMIS.ViewModel.SelectCourse.ExecutableFreeSelectionCouseView @using EMIS.Web.Controls; @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("TeaConfirm")
@Html.HiddenFor(x => x.ExecutableFreeSelectionCouseID)
@Html.ContextMenuBar("Edit-TeacherGrid") @Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn { FieldName="UserID", HeaderText="" }, new BoundFieldColumn { FieldName="LoginID", HeaderText="教职工号", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.05 }, new DictionaryDropdownListColumn { FieldName="TeachingMethod", HeaderText="任课方式", Align=AlignStyle.Center, Width=0.06, DictionaryType = EMIS.ViewModel.DictionaryItem.EM_TeachingMethod, IsRequired=true } }, PageSize = 3, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExecutableFreeSelectionCouse/TeacherList?ExecutableFreeSelectionCouseID=" + Model.ExecutableFreeSelectionCouseID), IsPostBack = true, ID = "dgTeacherList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, MaxHeight =65 })
}