Articles in this section
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.


< cc1:MenuItem TemplateID="TmpCalendar" Text="Calendar">

< Templates>

< cc1:TemplateControl ID="TmpCalendar">

< Template>

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

< /Template>

< /cc1:TemplateControl>

< /Templates>

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied