@model EMIS.ViewModel.StudentManage.StudentChange.ChangeReportView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; var isEnable = Request["type"] == "detail" ? false : true; var isDisable = Request["type"] == "detail" ? false : (Request["type"] == "edit" ? false : true); }
@Html.LabelFor(x => x.Code): | @Html.TextBoxFor(x => x.Code, new TextBoxOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.Name): | @Html.TextBoxFor(x => x.Name, new TextBoxOptions() { IsEnabled = isEnable }) |
@Html.LabelFor(x => x.Url): |
@Html.TextBoxFor(x => x.Url, new TextBoxOptions() { IsEnabled = isEnable }, new Dictionary |