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

Configure RadMenu in Sharepoint with a sitemap

3 Answers 175 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Gordon
Top achievements
Rank 1
Gordon asked on 22 Sep 2008, 06:50 PM

Ok so i've got RadMenu working in my Sharepoint site now by following the Telerik instructions. Can you give me some pointers how to link up a Sharepoint sitemap that will display dropdown menus and sub menus as shown in the Telerik RadMenu for Sharepoint example. Do I have to configure an xml data file and how do i hook this up to the Rad Menu in Sharepoint to show dropdowns and flyout menus from the dropdown. Not experienced enough i know but help appreciated because we are evaluating the Telerik controls with a view to buy.

Thanks in Advance



Gordon

3 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 23 Sep 2008, 08:46 AM
Hello Gordon,

You should just bind it to a sitemap datasource:

<telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="topSiteMap" Skin="Office2007" />
 
I hope this helps,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Gordon
Top achievements
Rank 1
answered on 23 Sep 2008, 08:51 AM
I have binded it to the topsitemap, but (pardon my ignorance) it only is showing high level items (home and other sites that have been created in the collection). Where therefore is topsitemap datasource configured so that RadMenu shows items as dropdown menu items and flyout submenu's too.

Regards

Gordon
0
Atanas Korchev
Telerik team
answered on 23 Sep 2008, 09:01 AM
Hello Gordon,

The topSiteMap datasource is part of the default master page template. If you are using a custom master page you should make sure you are using the correct sitemapdatasource declaration. Here is how it looks for the menu in our sample site:

<PublishingNavigation:PortalSiteMapDataSource ID="siteMapDataSource1" Runat="server"
    SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="true"
    StartFromCurrentNode="true" StartingNodeOffset="0" ShowStartingNode="false"
    TreatStartingNodeAsCurrent="true" TrimNonCurrentTypes="Heading"/>


Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Gordon
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Gordon
Top achievements
Rank 1
Share this question
or