@model EMIS.ViewModel.SelectCourse.FreeSelectionCouseControlView @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.GradeYear): @Html.SchoolYearDropDownListFor(x => x.GradeYear, new DropdownListOptions { SelectedValue = BaseExtensions.GetCurrentSchoolYearID() })
@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.MinSelectCount): @(Html.TextBoxFor(x => x.MinSelectCount, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))门 @Html.LabelFor(x => x.MaxSelectCount): @(Html.TextBoxFor(x => x.MaxSelectCount, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))门
@Html.LabelFor(x => x.MinCredit): @(Html.TextBoxFor(x => x.MinCredit, new TextBoxOptions { TextBoxType = TextBoxType.Normal })) @Html.LabelFor(x => x.MaxCredit): @(Html.TextBoxFor(x => x.MaxCredit, new TextBoxOptions { TextBoxType = TextBoxType.Normal }))
@Html.LabelFor(x => x.Remark): @Html.TextAreaFor(x => x.Remark, new Dictionary { { "style", "width:500px;" } })
}
@section scripts{ }