Kentico CMS 7.0 Controls

Configuration

Configuration

Previous topic Next topic Mail us feedback on this topic!  

Configuration

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

The following properties of the BasicDataList control can be set or used in the API:

 

Property Name

Description

Sample Value

DataBindByDefault

Indicates whether data binding should be performed by default during the init event.

 

HideControlForZeroRows

Indicates whether the control should be hidden when no data is loaded. The default value is False.


PagerDataItem

Gets or sets the pager data item object.


PagerForceNumberOfResults

If set, the DataSet containing paged items is not modified by the pager, but the pager itself behaves as if the amount of paged items were identical to this value. The value must be set to -1 for the property to be disabled.


RelatedData

Custom data connected to the object.


ZeroRowsText

Text to be shown when the control is hidden by the HideControlForZeroRows property.

"No records found."

 

As this control is inherited from the ASP.NET DataList control, it also has all of its standard properties.