RadMenu Item template style

2 posts, 0 answers
  1. waruni
    waruni avatar
    27 posts
    Member since:
    Jan 2008

    Posted 13 May 2010 Link to this post

    Hi,

    I have a Rad menu control, in that I added the controls (e.g. link button, Login Status) to the item template .I want to add the styles for the item template.
    When we click on the menu item it needs to be highlight and show in different color.

    i try to do this ,but styles are not applied for item template.

    code :
     <telerik:RadMenu ID="radLoginInfo" runat="server" EnableEmbeddedSkins="False" Skin="MySkin"
                        <Items> 
                            <telerik:RadMenuItem> 
                                <Items> 
                                    <telerik:RadMenuItem Text="Change Password"
                                        <ItemTemplate> 
                                            <asp:LinkButton ID="lnkChangePW" runat="server" OnClientClick="openWin(); return false;">Change Password</asp:LinkButton> 
                                        </ItemTemplate> 
                                    </telerik:RadMenuItem> 
                                    <telerik:RadMenuItem> 
                                        <ItemTemplate> 
                                            <asp:LoginStatus ID="LoginStatus1" runat="server" /> 
                                        </ItemTemplate> 
                                    </telerik:RadMenuItem> 
                                </Items> 
                            </telerik:RadMenuItem> 
                        </Items> 
                    </telerik:RadMenu> 

     

    please help me as soon as possible, this is urgent.

    thanks
    waruni



  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 19 May 2010 Link to this post

    Hi waruni,

    I am not sure what your custom skin is and what the should be the desired appearance for item template, but with he RadMenu definition you sent, here is the css selector to target the nested link buttons:

    .rmText a
       {
           text-decoration: none !important;
           color: Silver !important;  
           * * * set more attributes * * *
       }


    Best wishes,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top