rpSelected class not getting set on active page

4 posts, 0 answers
  1. Matt Melick
    Matt Melick avatar
    1 posts
    Member since:
    Jan 2010

    Posted 31 Mar 2010 Link to this post

    I am trying to use the skin objects for DNN. Specifically RadPanelBar, I want to display root level pages using a horizontal menu at the top of the page (currently using DNNMenu), and a vertical list on the side of the page to display child pages using RadPanelBar. Everything seems to work ok except when a page in the panel bar is clicked, it does not receive the .rpSelected class. I want to apply a style to the item that the user clicked to indicate the page in the panelbar the user is currently viewing.

     I have added the panelbar to my skin using the following statement:
    <dnn:RadPanelbar runat="server" id"dnnPanelbar_sli" ShowOnlyCurrent="RootItem" Skin="sli" EnableEmbeddedSkins="false"  EnableEmbeddedBaseStylesheet="false" /> 

    Any feedback would be appreciated.
  2. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 06 Apr 2010 Link to this post

    Hi Matt,

    You should set the SelectedPathItemCss and SelectedPathHeaderItemCss properties to the Css classes you want applied in this case.

    Regards,
    Dimitar Milushev
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Digital Man
    Digital Man avatar
    126 posts
    Member since:
    Nov 2003

    Posted 14 Nov 2011 Link to this post

    Have the properties changed in recent versions? The page/DNN skin blows up if I try and use the properties "SelectedPathItemCss" or "SelectedPathHeaderItemCssas if they're not supported property names. Also, in the skinning whitepaper at

    http://www.telerik.com/help/aspnet/panelbar/menu_skinningwhitepaper.html

    doesn't include the properties "EnableEmbeddedSkins" or "EnableEmbeddedBaseStylesheet".  But we are using those with no problem.
     
  5. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 16 Nov 2011 Link to this post

    Hi Digital Man,

    These are properties of the RadMenu, not the RadPanelBar. The original case was RadPanelBar inside RadMenu, hence the menu properties.

    Kind regards,
    Genady Sergeev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top