Public Constructors
Public Methods
(see also: Protected Methods)
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
CreateCustomValidator | Adds custom validator to the controls collection. |
![]() |
CreateDataControls | Adds the drop down list to the controls collection. |
![]() |
LoadViewState | Restores view state information from a previous request that was saved with the ListField.SaveViewState() method. |
![]() |
OnCustomValidate | Raises the CustomValidate event for this instance of ListField. |
![]() |
PrepareForRender | Prepare for rendering by validating control properties and setting the properties of the child controls. |
![]() |
RegisterClientScriptResources | Registers client-side script resources for this instance of ListField. |
![]() |
RegisterInitScript | Registers initialization script for this instance of ListField. |
![]() |
SaveViewState | Saves any state that was modified after the ListField.TrackViewState() method was invoked. |
![]() |
TrackViewState | Causes this instance of ListField to track changes to its view state so that they can be stored in the control's System.Web.UI.Control.ViewState property. |
Public Properties
(see also: Protected Properties)
| Name | Description | |
|---|---|---|
![]() |
AppendDataBoundItems | Gets or sets a value indicating whether list items are cleared befor data binding. |
![]() |
AutoPostBack | Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the list selection. |
![]() |
CausesValidation | Gets or sets a value indicating whether auto-postback triggers server-side page validation. |
![]() |
CompareToControlValidation | Gets or sets the settings that determine the compare to control validation behavior for this instance of ListField. |
![]() |
CompareToValueValidation | Gets or sets the settings that determine the compare to value validation behavior for this instance of ListField. |
![]() |
DataSource | Gets or sets the object from which the drop down list retrieves its list of data items. |
![]() |
DataTextField | Gets or sets the field of the data source that provides the text content of the list items. |
![]() |
DataValueField | Gets or sets the field of the data source that provides the value of each list item. |
![]() |
DropDownListAttributes | Gets the collection of arbitrary attributes (for rendering only) of the drop down list that do not correspond to properties on the control. |
![]() |
DropDownListClientID | Gets the client ID of the drop down list control. |
![]() |
HideSelectionPrompt | Gets or sets a value indicating whether selection prompt should be excluded from the list items. |
![]() |
Items | Gets the collection of items in the drop down list. |
![]() |
RegexValidation | Gets or sets the settings that determine the regular expression validation behavior for this instance of ListField. |
![]() |
SelectedIndex | Gets or sets the index of the selected item in the drop down list. |
![]() |
SelectedItem | Gets the selected item with the lowest index in the drop down list. |
![]() |
SelectedValue | Gets the value of the selected item in the list control; or selects the item in the list control that contains the specified value. |
![]() |
SelectionPromptText | Gets or sets the selection prompt text. |
![]() |
SelectionPromptValue | Gets or sets the selection prompt value. |
![]() |
Width | Gets or sets the width of the drop down list. |
Protected Properties
| Name | Description | |
|---|---|---|
![]() |
ClientValidatorClass | Gets the name of the client-side validator JavaScript class for this instance of ListField. |
![]() |
DropDownListControl | Gets the DropDownList control contained in this ListField. |
![]() |
MandatoryToolTipParameters | Gets the comma delimited mandatory parameters list that is used to construct tooltip at client side for this instance of ListField. |
Public Events
| Name | Description | |
|---|---|---|
![]() |
CustomValidate | Occurs as the last step of server-side validation. |
![]() |
DataBound | Occurs after the server control binds to a data source. |
![]() |
SelectedIndexChanged | Occurs when the selection from the drop down list changes between posts to the server. |