Click or drag to resize
XMLRepeater Class
Extended Repeater control that produces XML output.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsRepeater
      CMS.Base.Web.UIUIRepeater
        CMS.DocumentEngine.Web.UIBasicRepeater
          CMS.DocumentEngine.Web.UIXMLRepeater
            CMS.DocumentEngine.Web.UIAtomRepeater
            CMS.DocumentEngine.Web.UIRSSRepeater

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public class XMLRepeater : BasicRepeater

The XMLRepeater type exposes the following members.

Constructors
  NameDescription
Public methodXMLRepeater
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 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 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
Name of the cache item the control will use.
Public propertyCacheMinutes
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
Public propertyContentType
Content type of response.
Public propertyDataBindByDefault
Indicates whether data binding should be performed by default.
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 propertyDelayedLoading
Indicates whether the data should be loaded to the load event instead of default init event.
Public propertyEncoding
Content encoding. (UTF8 by default).
Public propertyFeedName
Name of feed for caching purposes.
Public propertyFooterXML
XML which is rendered after repeater items.
Public propertyHeaderXML
XML which is rendered before repeater items.
Public propertyHideControlForZeroRows
Hides the control when no data is loaded. Default value is False.
(Inherited from BasicRepeater.)
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
Stops further processing.
Public propertyTransformationName
Transformation name in format application.class.transformation.
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
Overrides databind event.
(Overrides BasicRepeaterDataBind.)
Public methodGetCacheDependency
Gets the cache dependency for the control.
Public methodGetDefaultCacheDependendencies
Gets the default cache dependencies for the data source.
Public methodHasData
Indicates if datasource contains data.
(Inherited from BasicRepeater.)
Protected methodInitControl
Ensures default data binding
(Overrides BasicRepeaterInitControl(Boolean).)
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.)
Public methodReloadData
Initializes the control properties.
(Overrides BasicRepeaterReloadData(Boolean).)
Protected methodRender
Overrides render event.
(Overrides BasicRepeaterRender(HtmlTextWriter).)
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