KaxNavigationItemItemTemplate Property |
Namespace: Kettic.AspNet.Controls
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public virtual ITemplate ItemTemplate { get; set; }
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.
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>