Click or drag to resize
KaxNavigationItemItemTemplate Property
Gets or sets the template for displaying the item.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public virtual ITemplate ItemTemplate { get; set; }

Property Value

Type: ITemplate

A ITemplate implemented object that contains the template for displaying the item. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.

To specify common display for all panel items use the ItemTemplate property of the KaxNavigationBar class.

Examples

The following template demonstrates how to add a Calendar control in certain panel item.

ASPX:

<kaxP:KaxNavigationBar runat="server" ID="KaxNavigationBar1">

<Items>

<kaxP:KaxNavigationItem Text="Date">

<Items>

<kaxP:KaxNavigationItem Text="SelectDate">

<ItemTemplate>

<asp:Calendar runat="server" ID="Calendar1" />

</ItemTemplate>

</kaxP:KaxNavigationItem>

</Items>

</kaxP:KaxNavigationItem>

</Items>

</kaxP:KaxNavigationBar>

See Also