@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; string StudentNo = Convert.ToString(ViewBag.StudentNo); //var CurseGrade = (IList)ViewBag.CurseGrade; ComboGridOptions cgop = new ComboGridOptions { TextField = "LoginID", ValueField = "UserID", EmptyText = "请选择", IsAutoComplete = true, MinReloadCharactor = EMIS.Utility.Const.LOCAL_SETTING_LoginIDLength, SelectedValue=StudentNo, Name = "StudentsComboGrid", ID = "StudentsComboGrid", OnSelect="reload", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Width=0.1, Align=AlignStyle.Center }, }, OnLoadSuccessFun = "reloadBack", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Students/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@Html.Position()
查询条件
  • 学号:
  • @Html.ComboGrid(cgop)查询
@Html.ContextMenuBar("List")
@*
*@
@*
*@