RadMenu fully supports templates. You can embed any content inside a RadMenu template:
- HTML markup
- ASP.NET server controls
- Third-party controls (other Telerik controls as well)
You can define two types of RadMenu templates:
1. Global Templates - template that is automatically applied to all items:
<telerik:RadMenu ID="RadMenu1" runat="server">
<ItemTemplate>
...
</ItemTemplate>
</telerik:RadMenu>
2. Per-item Template - template that overrides the global template on a item basis.
<telerik:RadMenu ID="RadMenu1" runat="server">
<telerik:RadMenuItem Text="Node">
<ItemTemplate>
...
<ItemTemplate>
</telerik:RadMenuItem>
</telerik:RadMenu>
3. ContentTemplate - template that overrides the global template on a item basis and serves as a container for the child items of an item.
<telerik:RadMenu ID="RadMenu1" runat="server">
<telerik:RadMenuItem Text="Node">
<ContentTemplate>
...
<ContentTemplate>
</telerik:RadMenuItem>
</telerik:RadMenu>
This example shows the usage of per-item templates - ContentTemplate and ItemTemplate.