DropDownHelper Methods

Template MVC

DropDownHelper Methods

Methods
  NameDescription
Public methodStatic memberGetDropdown(IEnumerableString, Int32)
Generate a list of SelectListItem using a normal list of String as key and value
Public methodStatic memberGetDropdownT(IEnumerableT, FuncT, String, FuncT, String, Int32)
Generate a list of SelectListItem
Public methodStatic memberGetDropdownT(IEnumerableT, FuncT, String, FuncT, String, FuncT, String, Char, Int32)
Generate a list of SelectListItem using two attributes of the model as text to display it on the dropdown
Top
See Also