Two Icons on a Menuitem

2 posts, 0 answers
  1. Donald Norris
    Donald Norris avatar
    66 posts
    Member since:
    Mar 2006

    Posted 24 Jul 2012 Link to this post

    I would like to have the ability to have two icons on a menu item, but not always.  I generate my entire menu with three levels programmatically.  I put it in a control so all I have to do is drop it on a page and it works.
    What I would like is the have two items possibly on a menuitem.  One on the left that would be a graphical prepresentation of what the menuitem does such as print, maintenance, etc and the another on the right that says NEW or Revised.  That way if a menuitem is new within the last 90 days I can display NEW or if the program behaviour has changed it can say REVISED.

    Is this possible?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Jul 2012 Link to this post

    Hi Donald,

    You could try using ItemTemplate of RadMenuItem to customize RadMenu with 2 icons.
    Try the following aspx which I did and worked as expected
    <telerik:RadMenu ID="RadMenu1" runat="server">
       <telerik:RadMenuItem Text="Home">
           <telerik:RadMenuItem Width="100px">
                <asp:ImageButton ID="ImageButton1" style="float:left" runat="server" ImageUrl="~/Images/menuitemimage.gif" />
                   <asp:Label ID="Label1" runat="server"  Text="Menu">
                   <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/yournewimage.gif" />

Back to Top