@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "Detail"; Guid? SOCDetailID = ViewBag.SOCDetailID; var list = ViewBag.FileList; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.Position() @Html.Hidden("SOCDetailID", SOCDetailID);
@Html.ContextMenuBar("Detail")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="SOCDetailGroupID" }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="Name", HeaderText="成果名称", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="No", HeaderText="组别", Align=AlignStyle.Center, Width=0.02 }, new BoundFieldColumn { FieldName="StudentCount", HeaderText="人数", Align=AlignStyle.Center, Width=0.02 }, new BoundFieldColumn { FieldName="StudentName", HeaderText="学生", Align=AlignStyle.Center, Width=0.2 }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/SOCDetailGroup/Group?SOCDetailID=" + SOCDetailID), ID = "dgSOCDetailGroupList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsAutoHeight = true, })
}