ESRI.ArcGIS.ADF.Web.UI.WebControls
Map Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TaskResults Class : Map Property




The Map control ID to which the TaskResults will be buddied.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<PersistenceModeAttribute()>
<ResDescriptionAttribute("Map control to associate with this control.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.BuddyControlEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ResCategoryAttribute("Buddy Controls")>
Public Property Map As String
Visual Basic (Usage)Copy Code
Dim instance As TaskResults
Dim value As String
 
instance.Map = value
 
value = instance.Map
C# 
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[PersistenceModeAttribute()]
[ResDescriptionAttribute("Map control to associate with this control.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.BuddyControlEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ResCategoryAttribute("Buddy Controls")]
public string Map {get; set;}

Remarks

When the TaskResults items contain GraphicsLayer objects, the user is able to select features in the TaskResults, and the features are then highlighted on the associated Map control. The Map control is also used to determine the extent when zooming to individual point features (see ZoomToPointFactor).

Note that selected features will only display on the map when the current Map extent includes the features.

See Also

© 2010 All Rights Reserved.