Kentico CMS 6.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 UniView control can be set or used in the API:

 

Property Name

Description

Sample Value

AlternatingRange

Indicates how often the AlternatingItemTemplate should be used.

 

AlternatingStartPosition

Indicates the item number from which the AlternatingItemTemplate should start being used.

 

DataSource

The object from which the list of data items is retrieved.

 

HideHeaderAndFooterForSingleItem

Indicates whether the content of the HeaderTemplate and FooterTemplate should be hidden if only a single item is displayed.

 

HierarchicalDisplayMode

Sets the hierarchical display mode. Inner generates sub-levels inside the level above, Separate generates sub-levels outside of the upper levels.

"Inner"

"Separate"

OuterData

Data generated in the HeaderTemplate and FooterTemplate.

 

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.

 

RelationColumnID

The name of the column that specifies the value of the current hierarchy level of items.

"NodeID"

SelectedItemColumnName

The name of the column that should be used for to find out which item is currently selected.

"DocumentID"

SelectedItemValue

The item whose column specified by the SelectedItemColumn property matches the value of this property will be designated as the currently selected item.

 

Typically, you will need to insert a Macro expression in order to dynamically retrieve the appropriate value from the current context.

"{%currentpageinfo.documentid%}"

UseNearestItemForHeaderAndFooter

Indicates whether data from the nearest data item should be used for the header or footer item. This value is ignored if the OuterData property is set.