BasicRepeater Class |
Namespace: CMS.Controls
public class BasicRepeater : UIRepeater, IUniPageable, IUniPageableContainer, IRelatedData
The BasicRepeater type exposes the following members.
Name | Description | |
---|---|---|
BasicRepeater |
Constructor.
|
Name | Description | |
---|---|---|
mControlsLoaded |
Flag saying whether the dynamic controls has been loaded yet.
| |
mDataLoaded |
Flag saying whether the data has been loaded yet.
| |
mOnBeforeInitFired |
True if the on before init was fired.
| |
mRelatedData |
Custom data connected to the object.
| |
mRelatedDataLoaded |
Related data is loaded.
| |
useDataSourceControl |
Indicates whether the viewer should obtain data source from the referenced control provided by the value of DataSourceControl property.
|
Name | Description | |
---|---|---|
DataBindByDefault |
Indicates whether data binding should be performed by default.
| |
DataSource |
Object from which data-bound control retrieves its list of data item.
(Overrides UIRepeaterDataSource.) | |
DataSourceControl |
Control with data source.
| |
DataSourceName |
Gets or sets name of source.
| |
DefaultDataSource |
Default data source to use if no external is provided.
| |
HideControlForZeroRows |
Hides the control when no data is loaded. Default value is False.
| |
PageableControl |
Gets or sets the encapsulated control that implements IUniPageable interface.
| |
PagerDataItem |
Pager data item object.
| |
PagerForceNumberOfResults |
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
| |
RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
| |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
| |
ShortID |
Short ID of the control.
(Inherited from UIRepeater.) | |
UniPagerControl |
Pager control.
| |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
|
Name | Description | |
---|---|---|
BoundPagerToDataSource |
Bound pager to the external external DataSource
| |
CreateControlHierarchy |
Creates a control hierarchy with or without the specified datasource.
(Overrides RepeaterCreateControlHierarchy(Boolean).) | |
DataBind |
Binds the data.
(Overrides RepeaterDataBind.) | |
HasData |
Indicates if datasource contains data.
| |
InitControl |
Ensures default data binding
| |
OnInit |
Init event handler.
(Overrides UIRepeaterOnInit(EventArgs).) | |
OnLoad |
OnLoad event handler
(Overrides RepeaterOnLoad(EventArgs).) | |
OnPreRender |
OnPreRender override.
(Overrides RepeaterOnPreRender(EventArgs).) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
| |
ReBind |
Evokes control databind.
| |
ReloadData |
Reloads the control data, skips the loading if the data is already loaded.
| |
Render |
Render event handler, to maintain the proper control rendering.
(Overrides ControlRender(HtmlTextWriter).) |
Name | Description | |
---|---|---|
CallHandled |
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.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
| |
OnPageBinding |
Occurs when the control bind data.
| |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
|