Method GenerateSelect
|
Improve this Doc
View Source
GenerateSelect(ViewContext, String, Column, Object, String, IEnumerable<SelectListItem>, Boolean, Object)
Declaration
public TagBuilder GenerateSelect(ViewContext viewContext, string fullHtmlFieldName, Column column, object dataValue, string optionLabel, IEnumerable<SelectListItem> selectList, bool allowMultiple, object htmlAttributes)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.Rendering.ViewContext |
viewContext |
|
System.String |
fullHtmlFieldName |
|
Column |
column |
|
System.Object |
dataValue |
|
System.String |
optionLabel |
|
System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Rendering.SelectListItem> |
selectList |
|
System.Boolean |
allowMultiple |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.Rendering.TagBuilder |
|
Implements
|
Improve this Doc
View Source
GenerateSelect(ViewContext, String, Column, String, IEnumerable<SelectListItem>, ICollection<String>, Boolean, Object)
Declaration
public virtual TagBuilder GenerateSelect(ViewContext viewContext, string fullHtmlFieldName, Column column, string optionLabel, IEnumerable<SelectListItem> selectList, ICollection<string> currentValues, bool allowMultiple, object htmlAttributes)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.Rendering.ViewContext |
viewContext |
|
System.String |
fullHtmlFieldName |
|
Column |
column |
|
System.String |
optionLabel |
|
System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Rendering.SelectListItem> |
selectList |
|
System.Collections.Generic.ICollection<System.String> |
currentValues |
|
System.Boolean |
allowMultiple |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.Rendering.TagBuilder |
|
Implements