@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions optCourse = new ComboGridOptions { TextField = "CourseName", ValueField = "CoursematerialID", OnSelect = "reload", ID = "cgbCourse", Name = "cgbCourse", SelectedIndex = 0, GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.12 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.2 } }, OnLoadSuccessFun = "reload", IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/SOC/StudentCoursematerialList"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ }
@Html.Position()
查询条件
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), Name = "ddlSchoolyear", ID = "ddlSchoolyear", SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), OnSelect = "queryCourse", OnLoadSuccess = "queryCourse" }, new Dictionary { { "data-condition", "dgStudentCommunicateList" } })
  • 课程名称:
  • @Html.ComboGrid(optCourse, new Dictionary { { "data-condition", "dgStudentCommunicateList" } })
辅导交流
@Html.DataGrid(new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Role", HeaderText="角色", Align=AlignStyle.Center, Width=60 }, new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center, Width=120 }, new BoundFieldColumn { FieldName="LoginID", HeaderText="编号", Align=AlignStyle.Center, Width=60 }, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=60 }, new ImageButtonColumn { HeaderText="QQ", FieldName="HeadImage", Align=AlignStyle.Center, Width=40, ImageWidth=32, ImageHeight=32, Handle="openQQ" } }, IsPostBack = true, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/DQPCommunicate/StudentList"), ID = "dgStudentCommunicateList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })