Click or drag to resize
KaxToolBarButtonItemTemplate Property
Gets or sets the template for displaying the button.

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 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.

Implements

IKaxToolBarButtonItemTemplate
Examples

The following template demonstrates how to add a Calendar control in a certain ToolBar button.

ASPX:

<kettic:KaxToolBar runat="server" ID="KaxToolBar1">

<Items>

<kettic:KaxToolBarDropDown Text="Date">

<Items>

<kettic:KaxToolBarButton Text="Date">

<ItemTemplate>

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

</ItemTemplate>

</kettic:KaxToolBarDropButton>

</Items>

</kettic:KaxToolBarDropDown>

</Items>

</kettic:KaxToolBar>

See Also