ESRI.ArcGIS.ADF.Web.UI.WebControls
DropDownBox Class
Members  See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : DropDownBox Class




A drop down box on a tool bar.

Object Model

DropDownBox Class

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class DropDownBox 
   Inherits InteractiveToolbarItem
Visual Basic (Usage)Copy Code
Dim instance As DropDownBox
C# 
[SerializableAttribute()]
public class DropDownBox : InteractiveToolbarItem 

Remarks

The DropDownBox appears similar to a standard ASP.NET DropDownList, but it resides on a Toolbar and inherits from InteractiveToolbarItem , so that it can interact with the map or layout using client callbacks. A typical use is to provide a list of options, so that when one is chosen, an action occurs on the map. For example, a list of named extents may be included in the DropDownBox, and when the user picks one, the map immediately jumps to the extent matching the name.

The DropDownBox executes code in a class that implements IMapServerDropDownBoxAction. This class is specified as the ServerActionClass of the DropDownBox in the Toolbar. This property may be specified in the Toolbar designer in Visual Studio. For an example of using a DropDownBox, see the Common_AddCustomTool sample in the SDK Web Applications samples (also available at the ArcGIS Resource Center).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.