ItemTemplate and selected CSS class

2 posts, 1 answers
  1. Arni Gunnar Ragnarsson
    Arni Gunnar Ragnarsson avatar
    13 posts
    Member since:
    Jul 2007

    Posted 02 Aug 2008 Link to this post

    <telerik:RadMenu ID="MainMenu" EnableEmbeddedSkins="false" Skin="Poker" runat="server"
            <href="<%#Eval("url")%>" title="<%#Eval("description")%>"><%#Eval("title")%></a


    This is a RadMenu control I am using on a site I am working on. I am using a sitemap file as a datasource for the menu.

    How can I set a selected class on the page I am currently viewing, using the ItemTemplate ... ?
  2. Answer
    Yana avatar
    4547 posts

    Posted 04 Aug 2008 Link to this post

    Hi Arni,

    Please find attached a sample project which shows how to set selected class of item templates. 
    Hope it helps.
    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top