@model EMIS.ViewModel.EnrollManage.SpecialtyManage.SpecialtyView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; var isEnable = Request["type"] == "detail" ? false : true; } @section scripts{ }
@Html.LabelFor(x => x.StandardName): |
@Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Standard, (x => x.StandardID),DropdownListBindType.PleaseSelect,
new ComboGridOptions
{
OnSelect = "QueryStandard",
IsEnabled = isEnable,
GridOptions = new DataGridOptions
{
Columns = new List |
@Html.LabelFor(x => x.Code): | @Html.TextBoxFor(x => x.Code, new TextBoxOptions() { IsEnabled = false }) |
@Html.LabelFor(x => x.EducationID): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Education, (x => x.EducationID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.LearningformID): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Learningform, (x => x.LearningformID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) |
@Html.LabelFor(x => x.LearnSystem): | @Html.TextBoxFor(x => x.LearnSystem, new TextBoxOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.ScienceclassID): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Scienceclass, (x => x.ScienceclassID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) |
@Html.LabelFor(x => x.PropertyID): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Property, (x => x.PropertyID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.StandardTitle): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_StandardTitle, (x => x.StandardTitle), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) |
@Html.LabelFor(x => x.StandardLevel): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_StandardLevel, (x => x.StandardLevel), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.RecordStatus): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.SYS_STATUS, (x => x.RecordStatus), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) |
@Html.LabelFor(x => x.Remark): |
@if (!isEnable)
{
@Html.TextAreaFor(x => x.Remark, new Dictionary |