creating TemplateControl in c#

Posted by nancy on Stack Overflow See other posts from Stack Overflow or by nancy
Published on 2010-06-09T06:28:28Z Indexed on 2010/06/09 6:32 UTC
Read the original article Hit count: 229

Filed under:

i have a telerik menu control that can have an <ItemTemplate>.
suppose i have :

<telerik:RadMenuItem Text="Filter" Value="Search" > 
   <ItemTemplate> 
      <asp:TextBox ID="TextBox1" runat="server""/> 
   </ItemTemplate> 
</telerik:RadMenuItem>

how can i dynamically create the textbox itemTemplate in code behind?

© Stack Overflow or respective owner

Related posts about c#