@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "CoursesTimeList"; } @section scripts{ }
@*
节次时间列表
*@
  • 时间段:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Activitie/TimesSegmentDropdownListBanid"), ID = "TimesSegmentDropdown", Name = "TimesSegmentDropdown", OnSelect = "QueryTimesSegmentDropdownList" }, new Dictionary { { "data-condition", "dgCoursesTimeList" } })
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="CoursesTimeID"}, new BoundFieldColumn { FieldName="Times", HeaderText="节次", Align=AlignStyle.Center, Width=0.02 }, new BoundFieldColumn { FieldName="TimesSegmentName", HeaderText="时间段", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="StartDate", HeaderText="开始时间", CustomFormatFun="formatStartTime", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", CustomFormatFun="formatEndTime", Align=AlignStyle.Center, Width=0.05 } }, PageSize = 20, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/CoursesTime/List"), ID = "dgCoursesTimeList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })