@model EMISOnline.ViewModel.ExamView.QuestionSettingView @using EMISOnline.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "ExamAdd"; }
@Html.LabelFor(x => x.base_question_type_id): |
@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SubjectMgr/GetQuestionType"), SelectedValue=Model.base_question_type_id, OnChange = "showQuestionOption", TextField = "Name", ValueField = "base_question_type_id", ID = "QuestionType", Name = "QuestionType" }, new Dictionary |
---|---|
@Html.LabelFor(x => x.content): |
填写答案的地方请用“【__________】”表示(限字数为1000)
@Html.TextAreaFor(x => x.content, new Dictionary |
@Html.LabelFor(x => x.question_file_id): | 选择 |
@Html.LabelFor(x => x.answers): | |
@Html.LabelFor(x => x.difficulty_degree): |
@Html.DropdownListFor(q => q.difficulty_degree, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SubjectMgr/GetDrpDifficulty"), TextField = "name", ValueField = "name", ID = "difficulty_degree", Name = "difficulty_degree" }, new Dictionary |
@Html.LabelFor(x => x.score): | @Html.TextBoxFor(model => model.score, new TextBoxOptions() { TextBoxType = TextBoxType.Normal }) |
@Html.LabelFor(x => x.is_vaild): | @Html.RadioButtonFor(model => model.is_vaild, "true", new { @value = "true", @checked = "checked", }) @Html.RadioButtonFor(model => model.is_vaild, "false", new { @value = "false", }) |
@Html.LabelFor(x => x.note): |
@Html.TextAreaFor(x => x.note, new Dictionary |