@model EMIS.ViewModel.SelectCourse.SelectCourseOpenControlSettingView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
类型设定信息
@if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@Html.LabelFor(x => x.SchoolyearID): @Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/SchoolYear/DropDownAfterCurrent") }) @Html.LabelFor(x => x.GrademajorID): @Html.ComboGridFor(x => x.GrademajorID, new ComboGridOptions { TextField = "Name", ValueField = "GrademajorID", GridOptions = new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="GrademajorID" }, new BoundFieldColumn { FieldName="Code", HeaderText="年级专业代码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } })
@Html.LabelFor(x => x.StartTime): @Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime }) @Html.LabelFor(x => x.EndTime): @Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
@Html.LabelFor(x => x.MaxSelectCount): @(Html.TextBoxFor(x => x.MaxSelectCount, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))门 @Html.LabelFor(x => x.MinSelectCount): @(Html.TextBoxFor(x => x.MinSelectCount, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))门
@Html.LabelFor(x => x.MaxCredit): @(Html.TextBoxFor(x => x.MaxCredit, new TextBoxOptions { TextBoxType = TextBoxType.Normal })) @Html.LabelFor(x => x.MinCredit): @(Html.TextBoxFor(x => x.MinCredit, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))
@Html.LabelFor(x => x.Remark): @Html.TextAreaFor(x => x.Remark, new Dictionary { { "style", "width:500px;" } })
}
@section scripts{ }