@model EMIS.ViewModel.MinorManage.MinorSetting.MinorStandardSettingView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("Edit")
@Html.Hidden("selectMinorStandardIDs") @*@Html.HiddenFor(x => x.MinorStandardID)*@
@Html.LabelFor(x => x.StandardName): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Standard, x => x.StandardID, new DropdownListOptions { ID = "StandardID", Name = "StandardID", OnSelect = "StandardSelect" }, new Dictionary { { "data-condition", "dgMinorStandardList" } })
@Html.LabelFor(x => x.MinorStandardName): @Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorStandardID" }, new BoundFieldColumn { FieldName="MinorStandardCode", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="MinorStandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 }, }, IsCheckOnSelect = true, IsPostBack = true, DataSourceUrl = Url.Content("~/MinorStandardSetting/GetStandardNotSelectID"), ID = "dgMinorStandardList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, })
}