@model EMIS.ViewModel.GraduationManage.GraduationSetting.GraduationSchoolYearView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; //var isEdit = (Request["graduationSchoolYearSettingID"] ?? "") == ""; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("Edit")
@Html.HiddenFor(x => x.GraduationSchoolYearSettingID)
@Html.LabelFor(x => x.GraduatingSemesterCode): @Html.DropdownListFor((x => x.GraduatingSemesterID), new DropdownListOptions() { BindType = DropdownListBindType.PleaseSelect, //IsEnabled = isEdit, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid") }) @Html.LabelFor(x => x.IsEnable): @Html.CheckBoxFor(x => x.IsEnable)
@Html.LabelFor(x => x.GraduateDate): @Html.TextBoxFor(x => x.GraduateDate, new TextBoxOptions() { TextBoxType = TextBoxType.Date }, new Dictionary { { "style", "width:56%;" } })
}