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

Two Radmenus with sitemapdatasource

2 Answers 56 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 16 Sep 2009, 02:46 PM
Hi,

I have 2 instances of RAD Menu on a page: one main navigation horizontal line and one submenu on left hand side of a page (vertical). Both are fed from the same SiteMapProvider. Is it possible to set the .rmFocused style for 1st level item from the submenu clicked item?

Regards,
Marc

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Sep 2009, 11:16 AM
Hi Marc,

Please, refer to the Show Path demo:
http://demos.telerik.com/aspnet-ajax/menu/examples/programming/showpath/defaultcs.aspx?Page=Contact%20Sales


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 21 Sep 2009, 09:38 AM
OK the example works for one RadMenu

Because I have two menu objects on the page this did not work.
I solved it by setting for the top menu

RadMenu1.MaxDataBindDepth=2

instead of

RadMenu1.MaxDataBindDepth=1

The sublevels are hidden for the top menu. By this, a click on the submenu item keeps the top level menu item highlighted.

Regards,
Marc



Tags
Menu
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Peter
Telerik team
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or