Click or drag to resize
RSSRepeater Class
Extended XMLRepeater control that provides RSS support.
Inheritance Hierarchy

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public class RSSRepeater : XMLRepeater

The RSSRepeater type exposes the following members.

Constructors
  NameDescription
Public methodRSSRepeater
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.
(Inherited from XMLRepeater.)
Public propertyCacheItemName
Name of the cache item the control will use.
(Inherited from XMLRepeater.)
Public propertyCacheMinutes
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
(Inherited from XMLRepeater.)
Public propertyContentType
Content type of response.
(Inherited from XMLRepeater.)
Public propertyDataBindByDefault
Indicates whether data binding should be performed by default.
(Inherited from XMLRepeater.)
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.
(Inherited from XMLRepeater.)
Public propertyEncoding
Content encoding. (UTF8 by default).
(Inherited from XMLRepeater.)
Public propertyFeedDescription
Description of the feed.
Public propertyFeedLanguage
Language of the feed. If the value is empty the content culture will be used.
Public propertyFeedLink
Link to feed.
Public propertyFeedName
Name of feed for caching purposes.
(Inherited from XMLRepeater.)
Public propertyFeedTitle
URL title of the feed.
Public propertyFooterXML
Custom feed footer XML which is generated after feed items. If the value is empty default footer for RSS feed is generated.
(Overrides XMLRepeaterFooterXML.)
Public propertyHeaderXML
Custom feed header XML which is generated before feed items. If the value is empty default header for RSS feed is generated.
(Overrides XMLRepeaterHeaderXML.)
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.
(Inherited from XMLRepeater.)
Public propertyTransformationName
Transformation name in format application.class.transformation.
(Inherited from XMLRepeater.)
Public propertyUniPagerControl
Pager control.
(Inherited from BasicRepeater.)
Public propertyStatic memberUseAtomLink
Gets or sets a value that indicates if the "atom:link" element should be used in the generated RSS feed. Default is true.
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.
(Inherited from XMLRepeater.)
Public methodGetCacheDependency
Gets the cache dependency for the control.
(Inherited from XMLRepeater.)
Public methodGetDefaultCacheDependendencies
Gets the default cache dependencies for the data source.
(Inherited from XMLRepeater.)
Public methodHasData
Indicates if datasource contains data.
(Inherited from BasicRepeater.)
Protected methodInitControl
Ensures default data binding
(Inherited from XMLRepeater.)
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.
(Inherited from XMLRepeater.)
Protected methodRender
Overrides render event.
(Inherited from XMLRepeater.)
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