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 CMSViewer control can be set or used in the API:

 

All of the common properties from:

 

CMS controls - common properties

Displaying related documents

 

In addition, the following properties are available:

 

Property Name

Description

Sample Value

HideControlForZeroRows

Hides the control when no data is loaded. Default value is False.

 

SelectedItemTransformationName

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


TransformationName

Name of the used XSLT transformation in format <document type code name>.<transformation name>.

"cms.news.default_xslt"

ZeroRowsText

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