@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
@Html.Hidden("SelectedID") @Html.PositionCondition()
  • 考试类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/ExaminationType/DropdownList"), ID = "ExaminationTypeID", Name = "ExaminationTypeID", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • 标准专业:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Standard, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "StandardID", Name = "StandardID", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • 年级数:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "SchoolyearNumID", Name = "SchoolyearNumID", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
考试类型控制列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSubjectCountLimitID"}, new LinkButtonColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center , Handle="edit" }, new BoundFieldColumn { FieldName="StandardName", HeaderText="标准专业", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="年级", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SubjectCountLimit", HeaderText="报名门数", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExamSubjectLimit/List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })