Click or drag to resize
CMSAbstractMap Class
Base map class.
Inheritance Hierarchy

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public abstract class CMSAbstractMap : BasicRepeater

The CMSAbstractMap type exposes the following members.

Constructors
  NameDescription
Protected methodCMSAbstractMap
Top
Fields
  NameDescription
Protected fieldmControlsLoaded
Flag saying whether the dynamic controls has been loaded yet.
(Inherited from BasicRepeater.)
Protected fieldmDataLoaded
Flag saying whether the data has been loaded yet.
(Inherited from BasicRepeater.)
Protected fieldmMapProperties
Map properties.
Protected fieldmOnBeforeInitFired
True if the on before init was fired.
(Inherited from BasicRepeater.)
Protected fieldmRelatedData
Custom data connected to the object.
(Inherited from BasicRepeater.)
Protected fieldmRelatedDataLoaded
Related data is loaded.
(Inherited from BasicRepeater.)
Protected fieldoutputHtml
Map output Html code.
Protected fielduseDataSourceControl
Indicates whether the viewer should obtain data source from the referenced control provided by the value of DataSourceControl property.
(Inherited from BasicRepeater.)
Top
Properties
  NameDescription
Public propertyCacheDependencies
Cache dependencies, each cache dependency on a new line.
Public propertyCacheItemName
Cache item name.
Public propertyCacheMinutes
Cache minutes.
Public propertyDataBindByDefault
Indicates whether data binding should be performed by default.
(Inherited from BasicRepeater.)
Public propertyDataSource
Object from which data-bound control retrieves its list of data item.
(Inherited from BasicRepeater.)
Public propertyDataSourceControl
Control with data source.
(Inherited from BasicRepeater.)
Public propertyDataSourceName
Gets or sets name of source.
(Inherited from BasicRepeater.)
Protected propertyDefaultDataSource
Default data source to use if no external is provided.
(Inherited from BasicRepeater.)
Public propertyHideControlForZeroRows
Hides the control when no data is loaded. Default value is False.
(Inherited from BasicRepeater.)
Public propertyMainScriptPath
Map script path.
Public propertyMapProperties
Gets or sets map properties.
Public propertyPageableControl
Gets or sets the encapsulated control that implements IUniPageable interface.
(Inherited from BasicRepeater.)
Public propertyPagerDataItem
Pager data item object.
(Inherited from BasicRepeater.)
Public propertyPagerForceNumberOfResults
Gets or sets the number of result. Enables proceed "fake" datasets, where number of results in the dataset is not correspondent to the real number of results This property must be equal -1 if should be disabled
(Inherited from BasicRepeater.)
Public propertyRelatedData
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
(Inherited from BasicRepeater.)
Public propertyResolveDynamicControls
Gets or sets the value that indicates whether dynamic controls should be resolved
(Inherited from BasicRepeater.)
Public propertyShortID
Short ID of the control.
(Inherited from UIRepeater.)
Public propertyStopProcessing
Stop control processing.
Public propertyUniPagerControl
Pager control.
(Inherited from BasicRepeater.)
Public propertyZeroRowsText
Text to be shown when the control is hidden by HideControlForZeroRows.
(Inherited from BasicRepeater.)
Top
Methods
  NameDescription
Protected methodBoundPagerToDataSource
Bound pager to the external external DataSource
(Inherited from BasicRepeater.)
Protected methodCreateControlHierarchy
Creates a control hierarchy with or without the specified datasource.
(Inherited from BasicRepeater.)
Public methodDataBind
Binds the data.
(Inherited from BasicRepeater.)
Protected methodStatic memberEnsureLatitude
Ensures correct range of latitude.
Protected methodStatic memberEnsureLongitude
Ensures correct range of longitude.
Protected methodStatic memberGetViewMode
Returns custom view mode key used as part of cache key.
Public methodHasData
Indicates if datasource contains data.
(Inherited from BasicRepeater.)
Protected methodInitControl
Ensures default data binding
(Inherited from BasicRepeater.)
Protected methodOnInit
Init event handler.
(Inherited from BasicRepeater.)
Protected methodOnLoad
OnLoad event handler
(Inherited from BasicRepeater.)
Protected methodOnPreRender
OnPreRender override.
(Inherited from BasicRepeater.)
Protected methodRaiseOnBeforeInit
Raises the OnBeforeInit event.
(Inherited from BasicRepeater.)
Public methodReBind
Evokes control databind.
(Inherited from BasicRepeater.)
Protected methodStatic memberRegisterMapFileScript
Registers OnLoad script.
Protected methodStatic memberRegisterOnLoadScript
Registers OnLoad script.
Public methodReloadData
Reloads the control data, skips the loading if the data is already loaded.
(Inherited from BasicRepeater.)
Protected methodRender
Render event handler, to maintain the proper control rendering.
(Inherited from BasicRepeater.)
Protected methodStatic memberRepairInputString
Repairs input string (remove forbidden characters between macros '##TR##' and '##TRE##').
Protected methodStatic memberRepairMarkerContent
Repairs marker content string.
Top
Extension Methods
  NameDescription
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Top
Events
  NameDescription
Public eventOnBeforeInit
On before init handler.
(Inherited from BasicRepeater.)
Public eventOnPageBinding
Occurs when the control bind data.
(Inherited from BasicRepeater.)
Public eventOnPageChanged
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from BasicRepeater.)
Top
See Also