BasicDataList Class |
Namespace: CMS.Controls
public class BasicDataList : UIDataList, IUniPageable, IUniPageableContainer, IRelatedData
The BasicDataList type exposes the following members.
Name | Description | |
---|---|---|
BasicDataList |
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 UIDataListDataSource.) | |
DataSourceControl |
Control with data source.
| |
DataSourceName |
Data source name.
| |
DefaultDataSource |
Default data source to use if no external is provided.
| |
HideControlForZeroRows |
Hides the control when no data is loaded. The 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 UIDataList.) | |
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 data source.
(Overrides DataListCreateControlHierarchy(Boolean).) | |
HasData |
Indicates if data source contains data.
| |
InitControl |
Ensures default data binding
| |
LoadDynamicControls |
Handles the Item Create event and creates dynamic control s if present.
| |
OnInit |
Init event handler.
(Overrides UIDataListOnInit(EventArgs).) | |
OnLoad |
OnLoad event handler
(Overrides BaseDataListOnLoad(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 BaseDataListRender(HtmlTextWriter).) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
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.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(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
|