|
||
The CMSDataList control allows you to display document data from the Kentico CMS database in a list based on transformations without the need to write any additional code.
The content is specified using its Path, MaxRelativeLevel, ClassNames, CultureCode, WhereCondition and OrderBy properties. Data is retrieved using the SelectDocuments query of the specified document type. These queries can be found at Kentico CMS Site Manager -> Development -> Document types -> ... Edit specified document type ... -> Queries.
|
Please note
If you wish to display data using a custom query, please use the QueryDataList control.
|
The CMSDataList is derived from the BasicDataList control.
Unlike the CMSRepeater control, the CMSDataList allows you to display data in several columns.
It supports nested controls, read more in the Using nested controls topic.
The portal engine equivalent of the CMSDataList control is the Listings and viewers -> Documents -> Datalist web part.
The following topics are available to help you familiarize yourself with the CMSDataList control:
•Getting started - contains a step-by-step tutorial that allows you to learn the basics of using the control
•Configuration - describes and explains the properties that can be set for the control
•Appearance and styling - describes how the design of the control can be modified