Kentico CMS 7.0 Controls

Overview

Overview

Previous topic Next topic Mail us feedback on this topic!  

Overview

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The QueryDataList control displays document data from the Kentico CMS database in a list based on transformations without the need to write any extra code. Additionally, it allows you to specify the query used to retrieve data through its QueryName property. Only queries stored in the CMS_Query table of the Kentico CMS database can be selected, so if you wish to use a custom query, you must create it there or edit an existing one. The queries can be managed through the administration interface at Site Manager -> Development -> Document types / System tables / Custom tables -> ... Edit (Edit) object ... -> Queries.

 

The QueryDataList is derived from the BasicDataList control.

 

Unlike the QueryRepeater control, the QueryDataList allows you to display data in several columns.

 

Please refer to the Using control properties to set query clauses topic to find information about using properties such as WhereCondition with this control.

 

The portal engine equivalent of the QueryDataList control is the Listings and viewers -> Datalist with custom query web part.

 

 

 

Please note

 

If you only wish to display data from a specific part of the content tree, please consider using the CMSDataList control instead.

 

 

The following topics are available to help you familiarize yourself with the QueryDataList control:

 

Getting started - contains a quick 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