@model EMIS.ViewModel.SystemView.RoleView @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" })) { @Html.HiddenFor(x => x.TypeID, new { Value = ((int)EMIS.ViewModel.SYS_RoleType.Student).ToString() })
@if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@Html.LabelFor(x => x.OrderNo): @Html.TextBoxFor(x => x.OrderNo) @Html.LabelFor(x => x.RoleName): @Html.TextBoxFor(x => x.RoleName)
@Html.LabelFor(x => x.StudentType): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_STUDENTTYPE, (x => x.StudentType), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
@Html.LabelFor(x => x.Description): @Html.TextAreaFor(x => x.Description, new Dictionary { { "style", "width:500px;" } })
}
@section scripts{ }