2
@Html.DropDownListFor(model => model.title, (SelectList)ViewBag.NoVList, new { id = "natureOfVisit", @class = "text white" })
如何向此DropDownListFor添加deafult值。我的意思是当用户打开弹出窗口来编辑模型,在这个下拉列表中,从下拉框中选择当前的model.title值。Deafult value loading为HTML.DropDownListFor
欢迎您:) – karaxuna