ItemRenderer
The ItemRenderer control renders a single Sitecore item. The item must have a layout.
The ItemRenderer control is a server-side control, so you cannot data bind any of the properties of the control, and you cannot reference the control in JavaScript in the client. If you have added SPEAK components to the layout, however, you have access to these components in the exact same way as if you had added them directly to the page.
Properties
|
Name |
Description |
Default |
|---|---|---|
|
Behavior | ||
|
DataSource |
Specify the item that the ItemRenderer control renders. The item must have a layout. | |
|
Parameters |
Text string with name value pairs. An alternative method for assigning property values. | |
|
PlaceholderKey |
Sitecore renders the control in the placeholder that has this ID. | |
|
UsePlaceholders |
Determines if the rendering uses placeholders or renders the items as a list. | |
Configuration
You can create a configuration item for an ItemRenderer control by creating an item based on the ItemRenderer Parameters template.
The configuration item has this field:
-
UsePlaceholders