@model EMIS.ViewModel.ExaminationApply.ExaminationSubjectView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; ComboGridOptions ExaminationSubject = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationSubjectID", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationFormName", HeaderText="考试类别", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="科目名称", Width=0.1, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationSubject/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
考试科目信息
@if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@*@Html.DropdownListFor((x => x.PreposeSubjectID), new DropdownListOptions { ID = "PreposeSubjectDropdown", Name = "PreposeSubjectDropdown", BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/ExaminationSubject/DropDownList?examinationSubjectID=" + @ViewBag.ID),OnLoadSuccess="" })*@
@Html.LabelFor(x => x.Name): @Html.TextBoxFor(x => x.Name) @Html.LabelFor(x => x.ExaminationFormsID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EX_ExaminationForm, x => x.ExaminationFormsID)
}
@section scripts{ }