@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • 重修学年学期:
  • @Html.DropdownList(new DropdownListOptions() { ID = "ddlSchoolYear", Name = "ddlSchoolYear", BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgOpenControlList" } })
重修控制列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="RetakeOpenControlID" }, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="重修学年学期", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="StartDate", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.04 }, new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.04 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/RetakeOpenControl/List"), ID = "dgOpenControlList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })