Represents a field that displays items of an external data source as a drop-down list in a data-bound control.
For a list of all members of this type, see DropDownField Members.
System.Object
DataControlField
BoundField
BaseDropDownField
DropDownField
The DropDownField is a custom DataControlField implementation that can be used in data-bound controls such as DetailsView and GridView. Use this field implementation to provide better user experience for scalar properties where the possible values can be enumerated in a drop-down list.
The DropDownField derives from the BoundField class, so you have to use the BoundField.DataField property to specify the name of the property that will be bound to the field.
Set the ListDataSourceID property to provide the ID of the DataSourceControl that retrieves the items of the drop-down list. The ListDataTextField and ListDataValueField properties also need to be set to specify the binding of the drop-down list items to the list data source.
Namespace: TechTalk.Genome.Extensions.Web.UI.Controls
Assembly: TechTalk.Genome.Extensions.Web (in TechTalk.Genome.Extensions.Web.dll)
Version: 4.2.4.4
Editions: Professional, Evaluation, Express
DropDownField Members | TechTalk.Genome.Extensions.Web.UI.Controls Namespace