DropDownHelper Class
From Template MVC
Template Documentation
DropDownHelper Class |
Generic class to generate all the DropDownList
Namespace: Template.Web.Commons.Utils
Assembly: Template.Web (in Template.Web.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static class DropDownHelper
| Name | Description | |
|---|---|---|
| GetDropdown(IEnumerableString, Int32) |
Generate a list of SelectListItem using a normal list of String as key and value
| |
| GetDropdownT(IEnumerableT, FuncT, String, FuncT, String, Int32) |
Generate a list of SelectListItem
| |
| GetDropdownT(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
|