RadMenu Related Menus for DNN

3 posts, 0 answers
  1. Jon
    Jon avatar
    5 posts
    Member since:
    Jan 2009

    Posted 10 Jan 2011 Link to this post

    I'm using RadMenu in DNN and am looking for some help on implementing related menus:

    The site is running DotNetNuke Community Edition v 5.02.01.

    Thank you!
  2. Peter
    Peter avatar
    6637 posts

    Posted 11 Jan 2011 Link to this post

    Hi Jon,

    This can be achieved like by setting MaxLevel="0" for RadMenu and ShowOnlyCurrent="ChildItems" for RadPanelBar.

    <div class="menu_style"
          <dnn:RADMENU runat="server" id="dnnRADMENU" Skin="Outlook" MaxLevel="0"   /> 

    <td valign="top" id="RightPane" class="RightPane" runat="server"
     <dnn:RADPANELBAR runat="server" id="RADPANELBAR1" Skin="Outlook" 
     ShowOnlyCurrent="ChildItems"  />  

    Feel free to let us know if you have further questions.

    Best wishes,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Jon
    Jon avatar
    5 posts
    Member since:
    Jan 2009

    Posted 11 Jan 2011 Link to this post

    Hi Peter,

    Thank you for the help! After implementing the code, I found that I wanted to show all the children in that root group.

    If my menu is

    - Root 1
    - Root 2
    - Child 1
    - Child 2
    - Child 2.1
    - Child 2.2
    - Root 3

    And the "Related Menu" was on Child 2.2, I'd want it to display everything but Root 1 and Root 3. I achieved this by using the following code:
    <dnn:RADPANELBAR runat="server" id="dnnRADPANELBAR_sub" Flow="Vertical" ShowPath="True" ShowOnlyCurrent="RootItem" />
Back to Top