KaxToolBarButtonItemTemplate Property |
Namespace: Kettic.AspNet.Controls
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public 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.
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>