Trying to use integrated PanelBar and Menu in MOSS 2007

4 posts, 0 answers
  1. Mick Cheung
    Mick Cheung avatar
    1 posts
    Member since:
    Mar 2006

    Posted 21 Nov 2007 Link to this post

    Hi,

    We are trying to use PanelBar with Menus (similar to this demo http://www.telerik.com/demos/aspnet/Controls/Examples/Integration/PanelbarAndMenu/DefaultCS.aspx?product=panelbar) in MOSS. Has anyone been successfull in using these controls together for navigation and if yes, what was the strategy in accomplishing this?

    Thank you.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Nov 2007 Link to this post

    Hi Mick,

    That particular example uses the following css rules:

    <head runat="server">
        <telerik:HeadTag runat="server" ID="Headtag1"></telerik:HeadTag>
        <style type="text/css">
                .RadPanelbar_Outlook .group
                {
                    overflow:visible !important;
                }

                .RadPanelbar_Outlook .group .template .link:hover
             {
             text-decoration: none;
             }
                </style>
    </head>


    Have you included this in your application? If yes, could you please be more specific what the problem that you experience is?


    Regards,
    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Vanessa
    Vanessa  avatar
    3 posts
    Member since:
    Apr 2008

    Posted 01 Dec 2008 Link to this post

    Hi,

    I think I know what Mick was asking and what I would also like to know. What is the best way to implement the PanelBar and Menu in a sharepoint/moss 2007 masterpage. I can add the PanelBar and Menu separately using ASP.NET AJAX in out master page as below.

    <PublishingNavigation:PortalSiteMapDataSource   
    ID="RadPanelbarMDS"   
    Runat="server" 
    SiteMapProvider="CombinedNavSiteMapProvider"   
    EnableViewState="true" 
    StartFromCurrentNode="true"   
    StartingNodeOffset="0"   
    ShowStartingNode="false" 
    TreatStartingNodeAsCurrent="true"   
    TrimNonCurrentTypes="Heading"/>                                   
    <PublishingNavigation:PortalSiteMapDataSource   
    ID="RadmenuMDS"   
    Runat="server" 
    SiteMapProvider="CurrentNavSiteMapProvider"   
    EnableViewState="true" 
    StartFromCurrentNode="true"   
    StartingNodeOffset="0"   
    ShowStartingNode="false" 
    TreatStartingNodeAsCurrent="true"   
    TrimNonCurrentTypes="Heading"/>  
     
    <telerik:RadPanelBar ID="RadPanelAjax" runat="server" DataSourceID="RadPanelbarMDS"   
    Flow="Vertical"    
    width="200" 
    EnableEmbeddedSkins="false" 
    SkinsPath="~\Telerik\Skins" 
    Skin="mySkin"   
    ClickToOpen="False" 
    ExpandDirection="Down">                             </telerik:RadPanelBar> 
                                             
    <br/> 
    <br/> 
                                            <telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="RadmenuMDS"   
    Skin="Outlook"   
    Flow="Vertical"   
    Width="200"/> 



    I have a requirement for our site navigation to have the first 2 levels as a drill down (like the panelbar) and the 3rd level to be flyouts (like the menus).

    You have an example of this on your site with ASP.NET AJAX )http://demos.telerik.com/aspnet/prometheus/Panelbar/Examples/ApplicationScenarios/PanelbarAndMenu/DefaultCS.aspx) and an example of this on your site with ASPNET Classic (called collapsing menu http://demos.telerik.com/aspnet/Controls/Examples/Integration/PanelbarAndMenu/DefaultCS.aspx?product=panelbar). 

    Unfortunetly both examples that demonstrate how these 2 controls can be used together are if the navigation is built manually but not a dynamic example.

    How can I implement these 2 controls together using a PortalSiteMapDataSource within a sharepoint master page?

    Thank you in advance.


  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Dec 2008 Link to this post

    Hi Vanessa,

    I understand your concern. You can add the menu to the panelbar items dynamically as shown in this help topic: Adding Templates at run-time. Please, let us know if you would need more help.


    Greetings,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top