This is a migrated thread and some comments may be shown as answers.

Trying to use integrated PanelBar and Menu in MOSS 2007

3 Answers 102 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Mick Cheung
Top achievements
Rank 1
Mick Cheung asked on 21 Nov 2007, 08:07 AM
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.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Nov 2007, 11:31 AM
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
0
Vanessa
Top achievements
Rank 1
answered on 02 Dec 2008, 03:00 AM
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.


0
Peter
Telerik team
answered on 02 Dec 2008, 08:50 AM
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.
Tags
Sharepoint Integration
Asked by
Mick Cheung
Top achievements
Rank 1
Answers by
Peter
Telerik team
Vanessa
Top achievements
Rank 1
Share this question
or