More in this section
Forums / Designing with Sitefinity / Menu Item Without Subpages is Darkened

Menu Item Without Subpages is Darkened

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Curtis Callender
    Curtis Callender avatar
    1 posts
    21 Jan 2010
    02 Apr 2010
    Link to this post
    I have a client who would like a "Home" link on their menu.  So I created a Page in Sitefinity at the root level and marked it as an external page with a redirect to "~/default.aspx".  The redirect works fine but the problem is that the text is dark unless you hover the mouse over it.  The first attachment is what the menu item looks like naturally (really hard to see) the second is what they want it to look like.  Any help would be appreciated.

    I've tried using jQuery to manually set the elements CSS class to "rmExpandDown."  The CSS class gets set and it will look correct, but then when the page finishes loading it gets unset again.

    - Craig
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    05 Apr 2010
    Link to this post
    Hi Curtis Callender,

    Most probably some of the css classes are not set correctly. Anyway you could try one of the following ways

    1. On the server - ItemDataBound event, from the RadMenuEventArgs access the "Home" item and set some css class explicitly.

    2. Access the "Home" item on the client using RadMenu client side API and set the css class.

    sample code

    function OnClientLoad(sender) {
        var item = sender.findItemByText("page2");

    Ivan Dimitrov
    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.
2 posts, 0 answered