@Html.LabelFor(x => x.MainScheduleClassID):
|
@Html.DropdownListFor(x => x.MainScheduleClassID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, Width = 250 })
|
@Html.LabelFor(x => x.Name):
|
@Html.TextBoxFor(x => x.Name, new TextBoxOptions { CssClass = "txt" })
|
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CollegeName", HeaderText="开课"+@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ClassNum", HeaderText="班级人数", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="TeachingModeName", HeaderText="授课方式", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="MissionClassClassmajorName", HeaderText="合班名称", Align=AlignStyle.Center ,IsHidden=true},
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/AdultEducationMissionClass/EducationMissionClassConjunctionList"),
ID = "dgEducationMissionClassConjunctionList",
OnLoadSuccessFun = "dgEducationMissionClassConjunctionList_LoadSuccess",
IsPagination = true,
IsAutoLoad = false,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsPostBack = true,
})
|