1.4.3.Drop down list
Markup:
<div class="form-group">
@Html.LabelFor(m => m.customer.membershipTypeId)
@Html.DropDownListFor(m => m.customer.membershipTypeId, new SelectList(Model.MembershipTypes, "Id", "Name"), "Select Memebershiptype", new { @class = "form-control" })
</div>
Last updated
Was this helpful?