SelectExtensions Methods

 

Namespace:   System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String)

Returns a single-selection select element using the specified HTML helper and the name of the form field.

System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String, IEnumerable<SelectListItem>)

Returns a single-selection select element using the specified HTML helper, the name of the form field, and the specified list items.

System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String, IEnumerable<SelectListItem>, IDictionary<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String, IEnumerable<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String, IEnumerable<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String, IEnumerable<SelectListItem>, String, IDictionary<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String, IEnumerable<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownList(HtmlHelper, String, String)

Returns a single-selection select element using the specified HTML helper, the name of the form field, and an option label.

System_CAPS_pubmethodSystem_CAPS_staticDropDownListFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>)

Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items.

System_CAPS_pubmethodSystem_CAPS_staticDropDownListFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, IDictionary<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownListFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownListFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownListFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, String, IDictionary<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.

System_CAPS_pubmethodSystem_CAPS_staticDropDownListFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<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.

System_CAPS_pubmethodSystem_CAPS_staticEnumDropDownListFor<TModel, TEnum>(HtmlHelper<TModel>, Expression<Func<TModel, TEnum>>)

Returns an HTML select element for each value in the enumeration that is represented by the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticEnumDropDownListFor<TModel, TEnum>(HtmlHelper<TModel>, Expression<Func<TModel, TEnum>>, IDictionary<String, Object>)

Returns an HTML select element for each value in the enumeration that is represented by the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticEnumDropDownListFor<TModel, TEnum>(HtmlHelper<TModel>, Expression<Func<TModel, TEnum>>, Object)

Returns an HTML select element for each value in the enumeration that is represented by the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticEnumDropDownListFor<TModel, TEnum>(HtmlHelper<TModel>, Expression<Func<TModel, TEnum>>, String)

Returns an HTML select element for each value in the enumeration that is represented by the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticEnumDropDownListFor<TModel, TEnum>(HtmlHelper<TModel>, Expression<Func<TModel, TEnum>>, String, IDictionary<String, Object>)

Returns an HTML select element for each value in the enumeration that is represented by the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticEnumDropDownListFor<TModel, TEnum>(HtmlHelper<TModel>, Expression<Func<TModel, TEnum>>, String, Object)

Returns an HTML select element for each value in the enumeration that is represented by the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticListBox(HtmlHelper, String)

Returns a multi-select select element using the specified HTML helper and the name of the form field.

System_CAPS_pubmethodSystem_CAPS_staticListBox(HtmlHelper, String, IEnumerable<SelectListItem>)

Returns a multi-select select element using the specified HTML helper, the name of the form field, and the specified list items.

System_CAPS_pubmethodSystem_CAPS_staticListBox(HtmlHelper, String, IEnumerable<SelectListItem>, IDictionary<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.

System_CAPS_pubmethodSystem_CAPS_staticListBox(HtmlHelper, String, IEnumerable<SelectListItem>, Object)

Returns a multi-select select element using the specified HTML helper, the name of the form field, and the specified list items.

System_CAPS_pubmethodSystem_CAPS_staticListBoxFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<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.

System_CAPS_pubmethodSystem_CAPS_staticListBoxFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, IDictionary<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.

System_CAPS_pubmethodSystem_CAPS_staticListBoxFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IEnumerable<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.

Return to top
Show: