Configuration

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

As it is inherited from the BasicDataList control, the QueryDataList control has all of its properties. These can be found in the BasicDataList -> Configuration topic.

 

In addition, it has all of the following properties that can be set or used in the API:

 

CMSBase - common properties
CMS Custom query - common properties

 

As well as:

 

Property Name

Description

Sample Value

AlternatingTransformationName

Name of the transformation applied to alternating items in format <class prefix>.<document type>.<transformation name>.


EnablePaging

Indicates whether the built-in DataPager control should be used to page the list.

 

This property does not affect the UniPager control, which must be added separately if you wish to use it.


IsSelected

Indicates whether the current data source contains the selected item.


PagerControl

This property can be used to set or get the pager control and its properties.


SelectedDatabaseColumnName

Gets or sets the column name that should be used to select items.


SelectedItemTransformationName

Name of the transformation applied to the selected item in format <class prefix>.<document type>.<transformation name>.


SelectedQueryStringKeyName

Gets or sets the query string key name. The presence of the key in a query string indicates, that some item should be selected. The item is determined by the value of the query string key.


SelectedValidationType

Gets or sets the validation type used for the query string key that determines which item is selected.

"int"

"guid"

"string"

ShowEditDeleteButtons

Indicates if edit and delete buttons should automatically be shown for each displayed item in the edit mode of CMS Desk.


TransformationName

Name of the transformation applied to standard items in format <class prefix>.<document type>.<transformation name>.


 

Page url: http://devnet.kentico.com/docs/5_5r2/controls/index.html?querydatalist_configuration.htm