@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • 毕业学期:
  • @Html.DropdownList(new DropdownListOptions { ID = "GradSchoolyearDropdown", Name = "GradSchoolyearDropdown", BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgDegreeOpenControlList" } })
  • 学位批次:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.ER_DegreeBatch, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryDegreeBatch", Name = "DictionaryDegreeBatch", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgDegreeOpenControlList" } })
学位控制表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="DegreeOpenControlID" }, new BoundFieldColumn { FieldName="GraduatingSemesterCode", HeaderText="毕业学期", Align=AlignStyle.Center, Width=0.1, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="DegreeBatchName", HeaderText="学位批次", Align=AlignStyle.Center, OrderFieldName="DegreeBatchID", Width=0.06, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="StartDate", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.06 }, new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.06 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/DegreeOpenControl/List"), ID = "dgDegreeOpenControlList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })