@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
@Html.PositionCondition()
  • 考试性质:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.EX_ExaminationForm, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "ExaminationFormDropdown", ID = "ExaminationFormDropdown", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExaminationSubjectList" } }) @*@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/ExaminationType/DropdownList"), ID = "ExaminationTypeDropdown", Name = "ExaminationTypeDropdown", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExaminationSubjectList" } })*@
考试科目列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSubjectID"}, new LinkButtonColumn { FieldName="Name", HeaderText="考试科目", Align=AlignStyle.Center , Handle="edit" }, //new BoundFieldColumn { FieldName="ExaminationDate", HeaderText="考试日期", Formatter= Formatter.CHSOnlyYearMonthDay, Align=AlignStyle.Center }, //new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationFormName", HeaderText="考试性质", Align=AlignStyle.Center }, //new BoundFieldColumn { FieldName="ExaminationTypeID", HeaderText="考试类型", Align=AlignStyle.Center, IsHidden=true }, //new BoundFieldColumn { FieldName="ExaminationFormID", HeaderText="考试类别", Align=AlignStyle.Center, IsHidden=true }, //new BoundFieldColumn { FieldName="PeopleNumLimit", HeaderText="最大报名人数", Align=AlignStyle.Center }, //new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="考试学年学期", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationSubjects/List"), ID = "dgExaminationSubjectList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })