@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "GroupScore"; } @section scripts { }
@Html.ContextMenuBar("Edit")
@using (Ajax.BeginForm(new AjaxOptions { Url = Url.Content("~/SOCDetailScore/GroupScoreSave?socDetailGroupID=" + Request["socDetailGroupID"]), OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.TextBox(new TextBoxOptions { ID = "Score", Name = "Score", OnChange = "", Validator = new OnlyMoneyValidator() })
@Html.DataGrid(new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center }, new TextBoxColumn { FieldName="Score", HeaderText="评分", Align=AlignStyle.Center, Validator=new OnlyMoneyValidator() } }, IsPostBack = true, IsCheckOnSelect = true, OnLoadSuccessFun = "onGridLoadSuccess", DataSourceUrl = Url.Content("~/SOCDetailScore/GroupScore?SOCDetailGroupID=" + Request["socDetailGroupID"]), ID = "dgStudentScoreList", IsPagination = false, IsShowRowNumbers = true, IsSingleSelect = false })
}