1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "GroupScore";
- }
- @section scripts
- {
- <script type="text/javascript" src="~/Scripts/Business/DQPSystem/SOCDetailGroupScoreEdit.js"></script>
- }
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- </div>
- @using (Ajax.BeginForm(new AjaxOptions { Url = Url.Content("~/SOCDetailScore/GroupScoreSave?socDetailGroupID=" + Request["socDetailGroupID"]), OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <div class="search_list">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <label>统一评分:</label>
- </td>
- <td>
- @Html.TextBox(new TextBoxOptions { ID = "Score", Name = "Score", OnChange = "", Validator = new OnlyMoneyValidator() })
- </td>
- </tr>
- <tr>
- <td>
- <label>单独评分:</label>
- </td>
- <td>
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- 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
- })
- </td>
- </tr>
- </table>
- </div>
- }
|