ESRI.ArcGIS.ADF.Web.UI.WebControls
EnableMapHandler Property
See Also 
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) 
<ResDescriptionAttribute("When true avoids page lifecycle for dynamic image requests by using a dedicated HTTP MapHandler.")>
<ResCategoryAttribute("Image Output")>
<DefaultValueAttribute()>
<PersistenceModeAttribute()>
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# 
[ResDescriptionAttribute("When true avoids page lifecycle for dynamic image requests by using a dedicated HTTP MapHandler.")]
[ResCategoryAttribute("Image Output")]
[DefaultValueAttribute()]
[PersistenceModeAttribute()]
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.

See Also

© 2010 All Rights Reserved.