@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • @Html.RSLabel("EducationName"):
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Education, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryEducation", Name = "DictionaryEducation", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentEditObjectList" } })
  • 开放学年:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionarySchoolyearNum", Name = "DictionarySchoolyearNum", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentEditObjectList" } })
  • 日期范围:
  • @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, Name = "txtDateRange"}, new Dictionary { { "data-condition", "dgStudentEditObjectList" } })
  • @*
  • 查询
  • *@
开放对象列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="StudentEditObjectsID" }, new LinkButtonColumn { FieldName="EducationName", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, Handle="edit", OrderFieldName="EducationID", Width=0.05 }, new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="开放学年", Align=AlignStyle.Center, OrderFieldName="SchoolyearNumID", Width=0.05 }, new BoundFieldColumn { FieldName="Starttime", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.1 }, new BoundFieldColumn { FieldName="Endtime", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.1 }, new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.02 }, new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ModifyUserName", HeaderText="修改人", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ModifyTime", HeaderText="修改时间", Align=AlignStyle.Center, Width=0.06, Formatter= Formatter.LongDate } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/OpenObject/List"), ID = "dgStudentEditObjectList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })