ESRI.ArcGIS.ADF.Tasks
ShowPickList Property
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > FormEntry Class : ShowPickList Property




Whether to show a drop-down list of values for the user to choose from, rather than a text box.

Syntax

Visual Basic (Declaration) 
Public Property ShowPickList As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FormEntry
Dim value As Boolean
 
instance.ShowPickList = value
 
value = instance.ShowPickList
C# 
public bool ShowPickList {get; set;}

Remarks

When the query task is configured in Visual Studio or Manager, the user creates one or more form entries for user input. In the form entry editor, the user may check a box to show a pick-list rather than a text box. This property will be true when the pick-list box is checked.

When this property is true, a set of values must be specified in DefaultValues. These values are typically generated at design time, either by using the "Get sample values" button to retrieve the values for a field, or by manually entering values from which to choose. The values in the DefaultValues collection are used to populate a DropDownList from which the user chooses a value for the form item.

See Also

© 2010 All Rights Reserved.