Template Documentation
DropDownHelper Class |
Generic class to generate all the DropDownList
Inheritance Hierarchy
Namespace: Template.Web.Commons.Utils
Assembly: Template.Web (in Template.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class DropDownHelper
Methods
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
|
See Also