ESRI.ArcGIS.ADF.Web.UI.WebControls Send comments on this topic.
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) 
<DefaultValueAttribute()>
<ResCategoryAttribute("Buddy Controls")>
<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=9.3.1.1850, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<NotifyParentPropertyAttribute(True)>
<PersistenceModeAttribute()>
<ResDescriptionAttribute("Map control to associate with this control.")>
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# 
[DefaultValueAttribute()]
[ResCategoryAttribute("Buddy Controls")]
[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=9.3.1.1850, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[NotifyParentPropertyAttribute(true)]
[PersistenceModeAttribute()]
[ResDescriptionAttribute("Map control to associate with this control.")]
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.

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

© 2009 All Rights Reserved.