@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
查询条件
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlYear", Name = "ddlYear", OnSelect = "reload", OnLoadSuccess = "reload" }, new Dictionary { { "data-condition", "dgPrintControlList" } })
终端打印控制
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="PrintControlID" }, new BoundFieldColumn { FieldName="YearID", HeaderText="年级", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Times", HeaderText="打印次数", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/PrintControl/List"), ID = "dgPrintControlList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })