CMSDataList Class |
Namespace: CMS.Controls
public class CMSDataList : BasicDataList, ICMSDataProperties, ICMSControlProperties, ICMSBaseProperties
The CMSDataList type exposes the following members.
Name | Description | |
---|---|---|
CMSDataList |
Constructor.
|
Name | Description | |
---|---|---|
BoundPagerToDataSource |
Bound pager to the external external DataSource
(Inherited from BasicDataList.) | |
ClearCache |
Clears the cached items.
| |
CreateControlHierarchy |
Creates a control hierarchy with or without the specified data source.
(Inherited from BasicDataList.) | |
CreateChildControls |
Disable default create child controls.
(Overrides BaseDataListCreateChildControls.) | |
DataBind |
Databind event.
(Overrides BaseDataListDataBind.) | |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
| |
GetRepeatDirection |
Returns the repeat direction based on the given string.
| |
GetRepeatLayout |
Returns the repeat layout based on the given string.
| |
HasData |
Indicates if data source contains data.
(Inherited from BasicDataList.) | |
InitControl |
Ensures default data binding
(Overrides BasicDataListInitControl(Boolean).) | |
LoadDynamicControls |
Handles the Item Create event and creates dynamic control s if present.
(Inherited from BasicDataList.) | |
OnInit |
Init event handler.
(Inherited from BasicDataList.) | |
OnLoad |
OnLoad event handler
(Inherited from BasicDataList.) | |
PrepareControlHierarchy |
Disable prepare control hierarchy.
(Overrides DataListPrepareControlHierarchy.) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
(Inherited from BasicDataList.) | |
ReBind |
Evokes control databind.
(Inherited from BasicDataList.) | |
ReleaseContext |
Releases the web part context.
| |
ReloadData |
Loads data from the according to the current values of properties.
(Overrides BasicDataListReloadData(Boolean).) | |
Render |
Render pager and datalist.
(Overrides BasicDataListRender(HtmlTextWriter).) | |
SetContext |
Sets the web part context.
|
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.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
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 CoreExtensions.) | |
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.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
detailMode |
Is true when render detail of some document
| |
mControlsLoaded |
Flag saying whether the dynamic controls has been loaded yet.
(Inherited from BasicDataList.) | |
mDataLoaded |
Flag saying whether the data has been loaded yet.
(Inherited from BasicDataList.) | |
mDataPager |
Data pager.
| |
mDataSource |
Document data source.
| |
mExternalPager |
External pager control?
| |
mFilterControl |
Filter control.
| |
mFilterName |
Filter name.
| |
mOnBeforeInitFired |
True if the on before init was fired.
(Inherited from BasicDataList.) | |
mPageSizeSet |
Indicates if page size property is set.
| |
mRelatedData |
Custom data connected to the object.
(Inherited from BasicDataList.) | |
mRelatedDataLoaded |
Related data is loaded.
(Inherited from BasicDataList.) | |
NoData |
When DataSource is empty NoData = true
| |
useDataSourceControl |
Indicates whether the viewer should obtain data source from the referenced control provided by the value of DataSourceControl property.
(Inherited from BasicDataList.) |
Name | Description | |
---|---|---|
AlternatingTransformationName |
Transformation name in format application.class.transformation applied to alternating items.
| |
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
| |
CacheItemName |
Name of the cache item the control will use.
| |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
| |
CategoryName |
Property to set and get the category name for filtering documents.
| |
ClassNames |
Property to set and get the classnames list (separated by the semicolon).
| |
Columns |
Gets or sets the columns to be retrieved from database.
| |
CombineWithDefaultCulture |
Property to set and get the CombineWithDefaultCulture flag.
| |
ControlContext |
Control context.
| |
CultureCode |
Property to set and get the CultureCode.
| |
DataBindByDefault |
Indicates whether data binding should be performed by default.
(Inherited from BasicDataList.) | |
DataSource |
Object from which data-bound control retrieves its list of data item.
(Inherited from BasicDataList.) | |
DataSourceControl |
Control with data source.
(Inherited from BasicDataList.) | |
DataSourceName |
Data source name.
(Inherited from BasicDataList.) | |
DefaultDataSource |
Default data source to use if no external is provided
(Overrides BasicDataListDefaultDataSource.) | |
DelayedLoading |
Indicates whether the data should be loaded to the load event instead of default init event.
| |
EnablePaging |
Enables paging.
| |
FilterControl |
Filter control.
| |
FilterName |
Gets or Set filter name.
| |
FilterOutDuplicates |
Indicates if the duplicated (linked) items should be filtered out from the data.
| |
HideControlForZeroRows |
Hides the control when no data is loaded. The default value is False.
(Inherited from BasicDataList.) | |
CheckPermissions |
Allows you to specify whether to check permissions of the current user. If the value is 'false' (default value) no permissions are checked. Otherwise, only nodes for which the user has read permission are displayed.
| |
IsSelected |
Gets a value indicating whether the current item is a selected item.
| |
LoadPagesIndividually |
If true, each page is loaded individually in case of paging.
| |
MaxRelativeLevel |
Property to set and get the MaxRelativeLevel.
| |
NestedControlsID |
Nested controls ID, use ';' like separator.
| |
OrderBy |
Property to set and get the OrderBy.
| |
PageableControl |
Gets or sets the encapsulated control that implements IUniPageable interface.
(Inherited from BasicDataList.) | |
PagerControl |
Represents pager control.
| |
PagerDataItem |
Pager data item object.
(Inherited from BasicDataList.) | |
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
(Inherited from BasicDataList.) | |
PageSize |
Number of items per page.
| |
ParentControl |
Parent control.
| |
Path |
Property to set and get the Path.
| |
RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
(Inherited from BasicDataList.) | |
RelatedNodeIsOnTheLeftSide |
If true, the returned nodes are on the right side of the relationship.
| |
RelationshipName |
Name of the relationship.
| |
RelationshipWithNodeGuid |
Select nodes with given relationship with given node.
| |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
(Inherited from BasicDataList.) | |
SelectedColumns |
Gets or sets the columns to be retrieved from database.
| |
SelectedItemTransformationName |
Transformation name for selected item in format application.class.transformation.
| |
SelectOnlyPublished |
Property to set and get the SelectOnlyPublished flag.
| |
SelectTopN |
Top N rows to select.
| |
ShortID |
Short ID of the control.
(Inherited from UIDataList.) | |
ShowDeleteButton |
Show Delete button.
| |
ShowEditButton |
Show Edit and Delete buttons.
| |
ShowEditDeleteButtons |
Show Edit and Delete buttons.
| |
SiteName |
Property to set and get the SiteName.
| |
StopProcessing |
Stop processing
| |
TopN |
Select top N rows.
| |
TransformationName |
Transformation name in format application.class.transformation.
| |
TreeProvider |
Tree provider instance used to access data. If no TreeProvider is assigned, a new TreeProvider instance is created.
| |
UniPagerControl |
Pager control.
(Inherited from BasicDataList.) | |
WhereCondition |
Property to set and get the WhereCondition.
| |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
(Inherited from BasicDataList.) |
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
(Inherited from BasicDataList.) | |
OnPageBinding |
Occurs when the control bind data.
(Inherited from BasicDataList.) | |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from BasicDataList.) |