dynamically setting the class of the hovered item

2 posts, 0 answers
  1. Ionut Balan
    Ionut Balan avatar
    8 posts
    Member since:
    Nov 2007

    Posted 05 Oct 2009 Link to this post


    We are using the ASP.NET AJAX Q2 2009 SP1 version of the Telerik controls. We have a horizontal RadMenu on our pages which shows the Level2 group dynamically, after detecting the screen boundary. We are currently migrating the skins, by rewriting the CSS classes.

    The problem is that we had, for each item in the Level1 group, arrow images which were loaded dynamically, as the class changed dynamically from expandRight to expandLeft when the Level2 group was shown to the left side of the Level1 group.

    Now, the rmExpandLeft class is never assigned to the Level1 elements, even if the Level2 group is shown on the left side. The class still remains rmExpandRight.

    Is the expected behaviour and we should look up for a different approach?

    Thank you.
  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 08 Oct 2009 Link to this post

    Hi Ionut,

    From your description I can't make out how exactly do you set the rmExpandLeft class on the Level1 elements? Can you send a small sample project illustrating your issue or point me to a live URL where I can see it in action and help you fix it? Thank you in advance for your trouble.

    Sincerely yours,
    Kamen Bundev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top