@using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @using EMIS.ViewModel; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("CourseProcessTeacher")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" }, new LinkButtonColumn { FieldName="LoginID", HeaderText="教职工号", Align=AlignStyle.Center , Handle="edit" }, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TitleName", HeaderText="职称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeID", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center ,IsHidden=true }, new BoundFieldColumn { FieldName="DepartmentID", HeaderText="教研室", Align=AlignStyle.Center,IsHidden=true }, new BoundFieldColumn { FieldName="DepartmentName", HeaderText="教研室", Align=AlignStyle.Center }, new DictionaryDropdownListColumn { FieldName="TeachingMethod", HeaderText="任课方式", Align=AlignStyle.Center, DictionaryType = EMIS.ViewModel.DictionaryItem.EM_TeachingMethod }, new LinkButtonColumn { Text="课表预览", HeaderText="", Align=AlignStyle.Center, Handle="Preview" } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EducationMissionClass/CourseProcessTeacherList?courseProcessID=" + Request["CourseProcessID"]), IsPostBack = true, ID = "dgTeacherList", IsPagination = false, IsShowRowNumbers = true, IsSingleSelect = false })
}