ESRI.ArcGIS.ADF.Web.UI.WebControls | |
InitializeFunctionality Method | |
See Also |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : InitializeFunctionality Method |
- mapResourceItem
- The resource item to add functionality for.
Visual Basic (Declaration) | |
---|---|
Public Sub InitializeFunctionality( _ ByVal mapResourceItem As MapResourceItem _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void InitializeFunctionality( MapResourceItem mapResourceItem ) |
Parameters
- mapResourceItem
- The resource item to add functionality for.
Initialization of functionalities retrieves the data required to use the map functionalities and populates the functionality objects with the required information.
As of the Service Pack 1 of the 9.2 version of the Web ADF, initialization does not necessarily take place on every page postback or callback. Before accessing and using a functionality, you should ensure that it is initialized.
Initialization causes the Web ADF page to contact the GIS server that provides the services used. This takes time and consumes network and server resources. Hence, you should only initialize functionalities that you will actually work with during that callback or postback.