Category / Section
How to add template control in menu items?
1 min read
Set TemplateID property of the MenuItem to the id of the TemplateControl.
C#
< cc1:MenuItem TemplateID="TmpCalendar" Text="Calendar">
< Templates>
< cc1:TemplateControl ID="TmpCalendar">
< Template>
< asp:Calendar id="Calendar1" runat="server">< /asp:Calendar>
< /Template>
< /cc1:TemplateControl>
< /Templates>