@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; string userName = ViewBag.UserName; ComboGridOptions cgoCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", Name = "cbgCollege", ID = "cbgCollege", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@Html.Position()
查询条件
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(cgoCollege, new Dictionary { { "data-condition", "dgScoreParameterCollegeSettingList" } })
  • 年级:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Grade, new DropdownListOptions { Name = "ddlGradeYear", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgScoreParameterCollegeSettingList" } })
成绩个性化设置列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ScoreParameterCollegeSettingID"}, new BoundFieldColumn { FieldName="Years", HeaderText="年级", Align=AlignStyle.Center ,Width=0.2}, new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center,Width=0.4 }, new BoundFieldColumn { FieldName="ScoreTypeDesc", HeaderText="单独处理类型", Align=AlignStyle.Center, Width=0.15 }, new LinkButtonColumn { Text="查看详细", HeaderText="", Align=AlignStyle.Center, Width=0.15, Handle="showDetail" } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ScoreParameterCollegeSetting/List"), ID = "dgScoreParameterCollegeSettingList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })