ESRI.ArcGIS.ADF.Web.UI.WebControls
EnableMapHandler Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : EnableMapHandler Property




When true avoids page lifecycle for dynamic image requests by using a dedicated HTTP MapHandler.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
<ResDescriptionAttribute("When true avoids page lifecycle for dynamic image requests by using a dedicated HTTP MapHandler.")>
<ResCategoryAttribute("Image Output")>
Public Property EnableMapHandler As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As Boolean
 
instance.EnableMapHandler = value
 
value = instance.EnableMapHandler
C# 
[DefaultValueAttribute()]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[ResDescriptionAttribute("When true avoids page lifecycle for dynamic image requests by using a dedicated HTTP MapHandler.")]
[ResCategoryAttribute("Image Output")]
public bool EnableMapHandler {get; set;}

Remarks

You should only set this to false if you want to handle draw specific events in the page.

A more efficient approach is to create a dedicated MapHandler inheriting from MapHandler. See the Map Handler discussion for more details.

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.