SelectExtensions Methods
Visual Studio 2010
| Name | Description | |
|---|---|---|
|
DropDownList(HtmlHelper, String) | Returns a single-selection select element using the specified HTML helper and the name of the form field. |
|
DropDownList(HtmlHelper, String, IEnumerable(Of SelectListItem)) | Returns a single-selection select element using the specified HTML helper, the name of the form field, and the specified list items. |
|
DropDownList(HtmlHelper, String, String) | Returns a single-selection select element using the specified HTML helper, the name of the form field, and an option label. |
|
DropDownList(HtmlHelper, String, IEnumerable(Of SelectListItem), IDictionary(Of String, Object)) | Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HTML attributes. |
|
DropDownList(HtmlHelper, String, IEnumerable(Of SelectListItem), Object) | Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HTML attributes. |
|
DropDownList(HtmlHelper, String, IEnumerable(Of SelectListItem), String) | Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, and an option label. |
|
DropDownList(HtmlHelper, String, IEnumerable(Of SelectListItem), String, IDictionary(Of String, Object)) | Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, an option label, and the specified HTML attributes. |
|
DropDownList(HtmlHelper, String, IEnumerable(Of SelectListItem), String, Object) | Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, an option label, and the specified HTML attributes. |
|
DropDownListFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem)) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items. |
|
DropDownListFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem), IDictionary(Of String, Object)) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. |
|
DropDownListFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem), Object) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. |
|
DropDownListFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem), String) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and option label. |
|
DropDownListFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem), String, IDictionary(Of String, Object)) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items, option label, and HTML attributes. |
|
DropDownListFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem), String, Object) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items, option label, and HTML attributes. |
|
ListBox(HtmlHelper, String) | Returns a multi-select select element using the specified HTML helper and the name of the form field. |
|
ListBox(HtmlHelper, String, IEnumerable(Of SelectListItem)) | Returns a multi-select select element using the specified HTML helper, the name of the form field, and the specified list items. |
|
ListBox(HtmlHelper, String, IEnumerable(Of SelectListItem), IDictionary(Of String, Object)) | Returns a multi-select select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HMTL attributes. |
|
ListBox(HtmlHelper, String, IEnumerable(Of SelectListItem), Object) | Returns a multi-select select element using the specified HTML helper, the name of the form field, and the specified list items. |
|
ListBoxFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem)) | Returns an HTML select element for each property in the object that is represented by the specified expression and using the specified list items. |
|
ListBoxFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem), IDictionary(Of String, Object)) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. |
|
ListBoxFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)), IEnumerable(Of SelectListItem), Object) | Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. |
Community Additions
ADD
Show: