Kentico CMS 7.0 Controls

Appearance and styling

Appearance and styling

Previous topic Next topic Mail us feedback on this topic!  

Appearance and styling

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

You can modify the appearance of the BasicDataList control by setting the standard properties and templates inherited from the ASP.NET DataList control. You can find more details on particular properties in the .NET Framework documentation for the DataList class.

 

The following templates can be defined:

 

Template Name

Description

Sample Value

AlternatingItemTemplate

Code of the template applied to alternating items.

 

EditItemTemplate

Code of the template applied to the item selected for editing.

 

FooterTemplate

Code of the template used for the footer of the list.


HeaderTemplate

Code of the template used for the header of the list.


ItemTemplate

Code of the template applied to standard items.

<div style="width: 100%">

<h3>

<%# Eval("CellName") %>

</h3>

<%# EcommerceFunctions.GetProductImage(Eval("SKUImagePath"), 200) %>

</div>

SelectedItemTemplate

Code of the template applied to the selected item.

 

SeparatorTemplate

Code of the template used for separating items.